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

#include <hcstream.h>

Inheritance diagram for hdfistream_vdata:
Inheritance graph
Collaboration diagram for hdfistream_vdata:
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 eos (void) const
 
 hdfistream_vdata (const string filename="")
 
 hdfistream_vdata (const hdfistream_vdata &)
 
virtual int index (void) const
 
virtual bool isInternalVdata (int ref) const
 
virtual void open (const char *filename)
 
virtual void open (const string &filename)
 
void operator= (const hdfistream_vdata &)
 
hdfistream_vdataoperator>> (hdf_vdata &hs)
 
hdfistream_vdataoperator>> (vector< hdf_vdata > &hsv)
 
hdfistream_vdataoperator>> (hdf_attr &ha)
 
hdfistream_vdataoperator>> (vector< hdf_attr > &hav)
 
virtual void rewind (void)
 
virtual void seek (int index=0)
 
virtual void seek (const char *name)
 
virtual void seek (const string &name)
 
virtual void seek_next (void)
 
virtual void seek_ref (int ref)
 
void setmeta (bool val)
 
bool setrecs (int32 begin, int32 end)
 
virtual ~hdfistream_vdata (void)
 

Public Attributes

int32 _file_id
 
string _filename
 
int _index
 
int32 begin
 
int32 end
 
bool set
 

Protected Member Functions

void _del (void)
 
void _get_fileinfo (void)
 
void _init (void)
 
void _rewind (void)
 
void _seek (const char *name)
 
void _seek (int32 ref)
 
void _seek_next (void)
 
hdfistream_vdataoperator>> (hdf_field &hf)
 
hdfistream_vdataoperator>> (vector< hdf_field > &hfv)
 

Protected Attributes

int32 _attr_index
 
bool _meta
 
int32 _nattrs
 
struct {
   int32   begin
 
   int32   end
 
   bool   set
 
_recs
 
int32 _vdata_id
 
vector< int32 > _vdata_refs
 

Detailed Description

Definition at line 245 of file hcstream.h.

Constructor & Destructor Documentation

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

Definition at line 136 of file vdata.cc.

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

Here is the call graph for this function:

hdfistream_vdata::hdfistream_vdata ( const hdfistream_vdata )
inline

Definition at line 248 of file hcstream.h.

References THROW.

virtual hdfistream_vdata::~hdfistream_vdata ( void  )
inlinevirtual

Definition at line 251 of file hcstream.h.

References _del().

Here is the call graph for this function:

Member Function Documentation

void hdfistream_vdata::_del ( void  )
inlineprotected

Definition at line 290 of file hcstream.h.

References close().

Referenced by ~hdfistream_vdata().

Here is the call graph for this function:

void hdfistream_vdata::_get_fileinfo ( void  )
protected

Definition at line 88 of file vdata.cc.

References hdfistream_obj::_file_id, and _vdata_refs.

Referenced by open().

void hdfistream_obj::_init ( const string  filename = "")
inlineinherited
void hdfistream_vdata::_init ( void  )
protected

Definition at line 80 of file vdata.cc.

References _attr_index, hdfistream_obj::_index, _meta, _nattrs, _recs, _vdata_id, and _vdata_refs.

Referenced by hdfistream_vdata().

void hdfistream_vdata::_rewind ( void  )
inlineprotected

Definition at line 297 of file hcstream.h.

References _attr_index, hdfistream_obj::_index, _seek(), and _vdata_refs.

Referenced by rewind().

Here is the call graph for this function:

void hdfistream_vdata::_seek ( const char *  name)
protected

Definition at line 105 of file vdata.cc.

References hdfistream_obj::_file_id, and THROW.

Referenced by _rewind(), _seek_next(), seek(), and seek_ref().

void hdfistream_vdata::_seek ( int32  ref)
protected
void hdfistream_vdata::_seek_next ( void  )
protected

Definition at line 98 of file vdata.cc.

References hdfistream_obj::_index, _seek(), _vdata_refs, and eos().

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

Here is the call graph for this function:

virtual bool hdfistream_vdata::bos ( void  ) const
inlinevirtual

Implements hdfistream_obj.

Definition at line 270 of file hcstream.h.

References hdfistream_obj::_index.

Referenced by eo_attr().

void hdfistream_vdata::close ( void  )
virtual
bool hdfistream_vdata::eo_attr ( void  ) const
virtual

Definition at line 231 of file vdata.cc.

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

Referenced by operator>>().

Here is the call graph for this function:

virtual bool hdfistream_vdata::eos ( void  ) const
inlinevirtual

Implements hdfistream_obj.

Definition at line 274 of file hcstream.h.

References hdfistream_obj::_index, and _vdata_refs.

Referenced by _seek_next(), eo_attr(), and operator>>().

virtual int hdfistream_obj::index ( void  ) const
inlinevirtualinherited
bool hdfistream_vdata::isInternalVdata ( int  ref) const
virtual

Definition at line 353 of file vdata.cc.

References hdfistream_obj::_file_id, hdfclass::MAXSTR, and THROW.

Referenced by hdfistream_vgroup::operator>>().

void hdfistream_vdata::open ( const char *  filename)
virtual

Implements hdfistream_obj.

Definition at line 149 of file vdata.cc.

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

Referenced by hdfistream_vdata(), and open().

Here is the call graph for this function:

void hdfistream_vdata::open ( const string &  filename)
virtual

Definition at line 144 of file vdata.cc.

References open().

Here is the call graph for this function:

void hdfistream_vdata::operator= ( const hdfistream_vdata )
inline

Definition at line 254 of file hcstream.h.

References THROW.

hdfistream_vdata & hdfistream_vdata::operator>> ( hdf_vdata hs)
hdfistream_vdata & hdfistream_vdata::operator>> ( vector< hdf_vdata > &  hsv)

Definition at line 252 of file vdata.cc.

References eos().

Here is the call graph for this function:

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

Definition at line 261 of file vdata.cc.

References _attr_index, hdfistream_obj::_filename, _vdata_id, eo_attr(), hdfclass::MAXSTR, hdf_attr::name, THROW, and hdf_attr::values.

Here is the call graph for this function:

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

Definition at line 242 of file vdata.cc.

References eo_attr().

Here is the call graph for this function:

hdfistream_vdata& hdfistream_vdata::operator>> ( hdf_field hf)
protected
hdfistream_vdata& hdfistream_vdata::operator>> ( vector< hdf_field > &  hfv)
protected
virtual void hdfistream_vdata::rewind ( void  )
inlinevirtual

Implements hdfistream_obj.

Definition at line 267 of file hcstream.h.

References _rewind().

Referenced by open().

Here is the call graph for this function:

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

Implements hdfistream_obj.

Definition at line 186 of file vdata.cc.

References hdfistream_obj::_index, _seek(), _vdata_refs, hdfistream_obj::index(), and THROW.

Referenced by seek().

Here is the call graph for this function:

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

Definition at line 203 of file vdata.cc.

References _seek().

Here is the call graph for this function:

void hdfistream_vdata::seek ( const string &  name)
virtual

Definition at line 199 of file vdata.cc.

References seek().

Here is the call graph for this function:

virtual void hdfistream_vdata::seek_next ( void  )
inlinevirtual

Implements hdfistream_obj.

Definition at line 263 of file hcstream.h.

References _seek_next().

Here is the call graph for this function:

void hdfistream_vdata::seek_ref ( int  ref)
virtual

Definition at line 194 of file vdata.cc.

References _seek().

Referenced by HDFSequence::read_tagref().

Here is the call graph for this function:

void hdfistream_vdata::setmeta ( bool  val)
inline

Definition at line 279 of file hcstream.h.

References _meta.

bool hdfistream_vdata::setrecs ( int32  begin,
int32  end 
)

Definition at line 208 of file vdata.cc.

References _recs, _vdata_id, begin, and end.

Member Data Documentation

int32 hdfistream_vdata::_attr_index
protected

Definition at line 304 of file hcstream.h.

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

bool hdfistream_vdata::_meta
protected

Definition at line 308 of file hcstream.h.

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

int32 hdfistream_vdata::_nattrs
protected

Definition at line 305 of file hcstream.h.

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

struct { ... } hdfistream_vdata::_recs

Referenced by _init(), close(), operator>>(), and setrecs().

int32 hdfistream_vdata::_vdata_id
protected

Definition at line 303 of file hcstream.h.

Referenced by _init(), _seek(), close(), operator>>(), and setrecs().

vector< int32 > hdfistream_vdata::_vdata_refs
protected

Definition at line 309 of file hcstream.h.

Referenced by _get_fileinfo(), _init(), _rewind(), _seek(), _seek_next(), close(), eos(), operator>>(), and seek().

int32 hdfistream_vdata::begin

Definition at line 312 of file hcstream.h.

Referenced by setrecs().

int32 hdfistream_vdata::end

Definition at line 313 of file hcstream.h.

Referenced by setrecs().

bool hdfistream_vdata::set

Definition at line 311 of file hcstream.h.


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