OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
hdfistream_gri Class Reference

#include <hcstream.h>

Inheritance diagram for hdfistream_gri:
Inheritance graph
Collaboration diagram for hdfistream_gri:
Collaboration graph

Public Member Functions

void _init (const string filename="")
 
virtual bool bos (void) const
 
virtual void close (void)
 
virtual bool eo_attr (void) const
 
virtual bool eo_pal (void) const
 
virtual bool eos (void) const
 
 hdfistream_gri (const string filename="")
 
 hdfistream_gri (const hdfistream_gri &)
 
virtual int index (void) const
 
virtual void open (const char *filename=0)
 
void operator= (const hdfistream_gri &)
 
hdfistream_grioperator>> (hdf_gri &hr)
 
hdfistream_grioperator>> (vector< hdf_gri > &hrv)
 
hdfistream_grioperator>> (hdf_attr &ha)
 
hdfistream_grioperator>> (vector< hdf_attr > &hav)
 
hdfistream_grioperator>> (hdf_palette &hp)
 
hdfistream_grioperator>> (vector< hdf_palette > &hpv)
 
virtual void rewind (void)
 
virtual void seek (int index=0)
 
virtual void seek (const char *name)
 
virtual void seek_next (void)
 
virtual void seek_ref (int ref)
 
void setinterlace (int32 interlace_mode)
 
void setmeta (bool val)
 
void setslab (vector< int >start, vector< int >edge, vector< int >stride, bool reduce_rank=false)
 
void unsetslab (void)
 
virtual ~hdfistream_gri (void)
 

Public Attributes

int32 _file_id
 
string _filename
 
int _index
 
int32 edge [2]
 
bool reduce_rank
 
bool set
 
int32 start [2]
 
int32 stride [2]
 

Protected Member Functions

void _close_ri (void)
 
void _del (void)
 
void _get_fileinfo (void)
 
void _get_iminfo (void)
 
void _init (void)
 
void _rewind (void)
 

Protected Attributes

int32 _attr_index
 
int32 _gr_id
 
int32 _interlace_mode
 
bool _meta
 
int32 _nattrs
 
int32 _nfattrs
 
int32 _npals
 
int32 _nri
 
int32 _pal_index
 
int32 _ri_id
 
struct {
   int32   edge [2]
 
   bool   reduce_rank
 
   bool   set
 
   int32   start [2]
 
   int32   stride [2]
 
_slab
 

Detailed Description

Definition at line 391 of file hcstream.h.

Constructor & Destructor Documentation

hdfistream_gri::hdfistream_gri ( const string  filename = "")

Definition at line 115 of file gri.cc.

References hdfistream_obj::_filename, _init(), and open().

Here is the call graph for this function:

hdfistream_gri::hdfistream_gri ( const hdfistream_gri )
inline

Definition at line 394 of file hcstream.h.

References THROW.

virtual hdfistream_gri::~hdfistream_gri ( void  )
inlinevirtual

Definition at line 397 of file hcstream.h.

References _del().

Here is the call graph for this function:

Member Function Documentation

void hdfistream_gri::_close_ri ( void  )
protected

Definition at line 104 of file gri.cc.

References _attr_index, hdfistream_obj::_index, _nattrs, _pal_index, and _ri_id.

Referenced by close(), rewind(), and seek().

void hdfistream_gri::_del ( void  )
inlineprotected

Definition at line 433 of file hcstream.h.

References close().

Referenced by ~hdfistream_gri().

Here is the call graph for this function:

void hdfistream_gri::_get_fileinfo ( void  )
protected

Definition at line 77 of file gri.cc.

References _gr_id, _nfattrs, _nri, and THROW.

Referenced by open().

void hdfistream_gri::_get_iminfo ( void  )
protected

Definition at line 85 of file gri.cc.

References _nattrs, _npals, _ri_id, hdfclass::MAXSTR, and THROW.

Referenced by seek().

void hdfistream_obj::_init ( const string  filename = "")
inlineinherited
void hdfistream_gri::_init ( void  )
protected
void hdfistream_gri::_rewind ( void  )
inlineprotected

Definition at line 439 of file hcstream.h.

References _attr_index, hdfistream_obj::_index, and _pal_index.

Referenced by rewind().

bool hdfistream_gri::bos ( void  ) const
virtual

Implements hdfistream_obj.

Definition at line 195 of file gri.cc.

References hdfistream_obj::_filename, hdfistream_obj::_index, _nri, and THROW.

Referenced by eo_attr(), eo_pal(), eos(), operator>>(), and seek().

void hdfistream_gri::close ( void  )
virtual

Implements hdfistream_obj.

Definition at line 142 of file gri.cc.

References _close_ri(), hdfistream_obj::_file_id, _gr_id, _nfattrs, and _nri.

Referenced by _del(), and open().

Here is the call graph for this function:

bool hdfistream_gri::eo_attr ( void  ) const
virtual

Definition at line 225 of file gri.cc.

References _attr_index, hdfistream_obj::_filename, _nattrs, _nfattrs, bos(), eos(), and THROW.

Referenced by operator>>().

Here is the call graph for this function:

bool hdfistream_gri::eo_pal ( void  ) const
virtual

Definition at line 252 of file gri.cc.

References hdfistream_obj::_filename, _npals, _pal_index, bos(), eos(), and THROW.

Referenced by operator>>().

Here is the call graph for this function:

bool hdfistream_gri::eos ( void  ) const
virtual

Implements hdfistream_obj.

Definition at line 209 of file gri.cc.

References hdfistream_obj::_filename, hdfistream_obj::_index, _nri, bos(), and THROW.

Referenced by eo_attr(), eo_pal(), operator>>(), and seek().

Here is the call graph for this function:

virtual int hdfistream_obj::index ( void  ) const
inlinevirtualinherited
void hdfistream_gri::open ( const char *  filename = 0)
virtual

Implements hdfistream_obj.

Definition at line 125 of file gri.cc.

References hdfistream_obj::_file_id, hdfistream_obj::_filename, _get_fileinfo(), _gr_id, close(), rewind(), and THROW.

Referenced by hdfistream_gri().

Here is the call graph for this function:

void hdfistream_gri::operator= ( const hdfistream_gri )
inline

Definition at line 400 of file hcstream.h.

References THROW.

hdfistream_gri & hdfistream_gri::operator>> ( vector< hdf_gri > &  hrv)

Definition at line 398 of file gri.cc.

References eos().

Here is the call graph for this function:

hdfistream_gri & hdfistream_gri::operator>> ( hdf_attr ha)

Definition at line 408 of file gri.cc.

References _attr_index, hdfistream_obj::_filename, _gr_id, _ri_id, bos(), eo_attr(), hdf_genvec::import(), hdfclass::MAXSTR, min(), hdf_attr::name, THROW, and hdf_attr::values.

Here is the call graph for this function:

hdfistream_gri & hdfistream_gri::operator>> ( vector< hdf_attr > &  hav)

Definition at line 459 of file gri.cc.

References _attr_index, and eo_attr().

Here is the call graph for this function:

hdfistream_gri & hdfistream_gri::operator>> ( hdf_palette hp)

Definition at line 469 of file gri.cc.

References hdfistream_obj::_filename, _pal_index, _ri_id, eo_pal(), hdf_genvec::import(), hdf_palette::ncomp, hdf_palette::num_entries, hdf_palette::table, and THROW.

Here is the call graph for this function:

hdfistream_gri & hdfistream_gri::operator>> ( vector< hdf_palette > &  hpv)

Definition at line 520 of file gri.cc.

References eo_pal().

Here is the call graph for this function:

void hdfistream_gri::rewind ( void  )
virtual

Implements hdfistream_obj.

Definition at line 185 of file gri.cc.

References _close_ri(), hdfistream_obj::_filename, _rewind(), and THROW.

Referenced by open().

Here is the call graph for this function:

void hdfistream_gri::seek ( int  index = 0)
virtual

Implements hdfistream_obj.

Definition at line 155 of file gri.cc.

References _close_ri(), hdfistream_obj::_filename, _get_iminfo(), _gr_id, hdfistream_obj::_index, _ri_id, bos(), eos(), hdfistream_obj::index(), and THROW.

Referenced by operator>>(), seek(), seek_next(), and seek_ref().

Here is the call graph for this function:

void hdfistream_gri::seek ( const char *  name)
virtual

Definition at line 167 of file gri.cc.

References hdfistream_obj::_filename, _gr_id, hdfistream_obj::index(), seek(), and THROW.

Here is the call graph for this function:

virtual void hdfistream_gri::seek_next ( void  )
inlinevirtual

Implements hdfistream_obj.

Definition at line 407 of file hcstream.h.

References hdfistream_obj::_index, and seek().

Referenced by operator>>().

Here is the call graph for this function:

void hdfistream_gri::seek_ref ( int  ref)
virtual

Definition at line 176 of file gri.cc.

References hdfistream_obj::_filename, _gr_id, hdfistream_obj::index(), seek(), and THROW.

Referenced by HDFArray::read_tagref().

Here is the call graph for this function:

void hdfistream_gri::setinterlace ( int32  interlace_mode)

Definition at line 240 of file gri.cc.

References _interlace_mode, and THROW.

Referenced by operator>>().

void hdfistream_gri::setmeta ( bool  val)
inline

Definition at line 416 of file hcstream.h.

References _meta.

void hdfistream_gri::setslab ( vector< int >  start,
vector< int >  edge,
vector< int >  stride,
bool  reduce_rank = false 
)

Definition at line 267 of file gri.cc.

References _slab, reduce_rank, and THROW.

void hdfistream_gri::unsetslab ( void  )
inline

Definition at line 421 of file hcstream.h.

References _slab.

Member Data Documentation

int32 hdfistream_gri::_attr_index
protected

Definition at line 445 of file hcstream.h.

Referenced by _close_ri(), _init(), _rewind(), eo_attr(), and operator>>().

int32 hdfistream_gri::_gr_id
protected

Definition at line 443 of file hcstream.h.

Referenced by _get_fileinfo(), _init(), close(), open(), operator>>(), seek(), and seek_ref().

int32 hdfistream_gri::_interlace_mode
protected

Definition at line 451 of file hcstream.h.

Referenced by _init(), operator>>(), and setinterlace().

bool hdfistream_gri::_meta
protected

Definition at line 452 of file hcstream.h.

Referenced by _init(), operator>>(), and setmeta().

int32 hdfistream_gri::_nattrs
protected

Definition at line 448 of file hcstream.h.

Referenced by _close_ri(), _get_iminfo(), _init(), and eo_attr().

int32 hdfistream_gri::_nfattrs
protected

Definition at line 449 of file hcstream.h.

Referenced by _get_fileinfo(), _init(), close(), and eo_attr().

int32 hdfistream_gri::_npals
protected

Definition at line 450 of file hcstream.h.

Referenced by _get_iminfo(), _init(), and eo_pal().

int32 hdfistream_gri::_nri
protected

Definition at line 447 of file hcstream.h.

Referenced by _get_fileinfo(), _init(), bos(), close(), and eos().

int32 hdfistream_gri::_pal_index
protected

Definition at line 446 of file hcstream.h.

Referenced by _close_ri(), _init(), _rewind(), eo_pal(), and operator>>().

int32 hdfistream_gri::_ri_id
protected

Definition at line 444 of file hcstream.h.

Referenced by _close_ri(), _get_iminfo(), _init(), operator>>(), and seek().

struct { ... } hdfistream_gri::_slab

Referenced by _init(), operator>>(), setslab(), and unsetslab().

int32 hdfistream_gri::edge[2]

Definition at line 457 of file hcstream.h.

Referenced by operator>>().

bool hdfistream_gri::reduce_rank

Definition at line 455 of file hcstream.h.

Referenced by setslab().

bool hdfistream_gri::set

Definition at line 454 of file hcstream.h.

int32 hdfistream_gri::start[2]

Definition at line 456 of file hcstream.h.

Referenced by operator>>().

int32 hdfistream_gri::stride[2]

Definition at line 458 of file hcstream.h.

Referenced by operator>>().


The documentation for this class was generated from the following files: