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

#include <hcstream.h>

Inheritance diagram for hdfistream_annot:
Inheritance graph
Collaboration diagram for hdfistream_annot:
Collaboration graph

Public Member Functions

virtual bool bos (void) const
 
virtual void close (void)
 
virtual bool eos (void) const
 
 hdfistream_annot (const string filename="")
 
 hdfistream_annot (const string filename, int32 tag, int32 ref)
 
 hdfistream_annot (const hdfistream_annot &)
 
virtual int index (void) const
 
virtual void open (const char *filename)
 
virtual void open (const char *filename, int32 tag, int32 ref)
 
void operator= (const hdfistream_annot &)
 
hdfistream_annotoperator>> (string &an)
 
hdfistream_annotoperator>> (vector< string > &anv)
 
virtual void rewind (void)
 
virtual void seek (int index)
 
virtual void seek_next (void)
 
virtual void set_annot_type (bool label, bool desc)
 
virtual ~hdfistream_annot (void)
 

Public Attributes

int32 _file_id
 
string _filename
 
int _index
 

Protected Member Functions

void _del (void)
 
void _get_anninfo (void)
 
void _get_file_anninfo (void)
 
void _get_obj_anninfo (void)
 
void _init (const string filename="")
 
void _init (const string filename, int32 tag, int32 ref)
 
void _open (const char *filename)
 
void _rewind (void)
 

Protected Attributes

int32 _an_id
 
vector< int32 > _an_ids
 
bool _desc
 
bool _lab
 
int32 _ref
 
int32 _tag
 

Detailed Description

Definition at line 185 of file hcstream.h.

Constructor & Destructor Documentation

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

Definition at line 175 of file annot.cc.

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

Here is the call graph for this function:

hdfistream_annot::hdfistream_annot ( const string  filename,
int32  tag,
int32  ref 
)

Definition at line 184 of file annot.cc.

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

Here is the call graph for this function:

hdfistream_annot::hdfistream_annot ( const hdfistream_annot )
inline

Definition at line 189 of file hcstream.h.

References THROW.

virtual hdfistream_annot::~hdfistream_annot ( void  )
inlinevirtual

Definition at line 192 of file hcstream.h.

References _del().

Here is the call graph for this function:

Member Function Documentation

void hdfistream_annot::_del ( void  )
inlineprotected

Definition at line 228 of file hcstream.h.

References close().

Referenced by ~hdfistream_annot().

Here is the call graph for this function:

void hdfistream_annot::_get_anninfo ( void  )
protected

Definition at line 98 of file annot.cc.

References _get_file_anninfo(), _get_obj_anninfo(), and bos().

Referenced by open().

Here is the call graph for this function:

void hdfistream_annot::_get_file_anninfo ( void  )
protected

Definition at line 108 of file annot.cc.

References _an_id, _an_ids, _desc, _lab, and THROW.

Referenced by _get_anninfo().

void hdfistream_annot::_get_obj_anninfo ( void  )
protected

Definition at line 131 of file annot.cc.

References _an_id, _an_ids, _desc, _lab, _ref, _tag, and THROW.

Referenced by _get_anninfo().

void hdfistream_annot::_init ( const string  filename = "")
protected
void hdfistream_annot::_init ( const string  filename,
int32  tag,
int32  ref 
)
protected

Definition at line 76 of file annot.cc.

References _init(), _ref, and _tag.

Here is the call graph for this function:

void hdfistream_annot::_open ( const char *  filename)
protected

Definition at line 85 of file annot.cc.

References _an_id, hdfistream_obj::_file_id, hdfistream_obj::_filename, close(), and THROW.

Referenced by open().

Here is the call graph for this function:

void hdfistream_annot::_rewind ( void  )
inlineprotected

Definition at line 231 of file hcstream.h.

References hdfistream_obj::_index.

virtual bool hdfistream_annot::bos ( void  ) const
inlinevirtual

Implements hdfistream_obj.

Definition at line 212 of file hcstream.h.

References hdfistream_obj::_index.

Referenced by _get_anninfo().

void hdfistream_annot::close ( void  )
virtual

Implements hdfistream_obj.

Definition at line 209 of file annot.cc.

References _an_id, hdfistream_obj::_file_id, and _init().

Referenced by _del(), and _open().

Here is the call graph for this function:

virtual bool hdfistream_annot::eos ( void  ) const
inlinevirtual

Implements hdfistream_obj.

Definition at line 209 of file hcstream.h.

References _an_ids, and hdfistream_obj::_index.

Referenced by operator>>().

virtual int hdfistream_obj::index ( void  ) const
inlinevirtualinherited
void hdfistream_annot::open ( const char *  filename)
virtual

Implements hdfistream_obj.

Definition at line 192 of file annot.cc.

References _get_anninfo(), _open(), _ref, and _tag.

Referenced by hdfistream_annot().

Here is the call graph for this function:

void hdfistream_annot::open ( const char *  filename,
int32  tag,
int32  ref 
)
virtual

Definition at line 200 of file annot.cc.

References _get_anninfo(), _open(), _ref, and _tag.

Here is the call graph for this function:

void hdfistream_annot::operator= ( const hdfistream_annot )
inline

Definition at line 195 of file hcstream.h.

References THROW.

hdfistream_annot & hdfistream_annot::operator>> ( string &  an)

Definition at line 219 of file annot.cc.

References _an_id, _an_ids, hdfistream_obj::_index, eos(), seek_next(), and THROW.

Here is the call graph for this function:

hdfistream_annot & hdfistream_annot::operator>> ( vector< string > &  anv)

Definition at line 242 of file annot.cc.

References eos().

Here is the call graph for this function:

virtual void hdfistream_annot::rewind ( void  )
inlinevirtual

Implements hdfistream_obj.

Definition at line 215 of file hcstream.h.

References hdfistream_obj::_index.

virtual void hdfistream_annot::seek ( int  index)
inlinevirtual

Implements hdfistream_obj.

Definition at line 202 of file hcstream.h.

References hdfistream_obj::_index, and hdfistream_obj::index().

Here is the call graph for this function:

virtual void hdfistream_annot::seek_next ( void  )
inlinevirtual

Implements hdfistream_obj.

Definition at line 206 of file hcstream.h.

References hdfistream_obj::_index.

Referenced by operator>>().

virtual void hdfistream_annot::set_annot_type ( bool  label,
bool  desc 
)
inlinevirtual

Definition at line 218 of file hcstream.h.

References _desc, and _lab.

Member Data Documentation

int32 hdfistream_annot::_an_id
protected

Definition at line 238 of file hcstream.h.

Referenced by _get_file_anninfo(), _get_obj_anninfo(), _init(), _open(), close(), and operator>>().

vector< int32 > hdfistream_annot::_an_ids
protected

Definition at line 242 of file hcstream.h.

Referenced by _get_file_anninfo(), _get_obj_anninfo(), _init(), eos(), and operator>>().

bool hdfistream_annot::_desc
protected

Definition at line 241 of file hcstream.h.

Referenced by _get_file_anninfo(), _get_obj_anninfo(), _init(), and set_annot_type().

bool hdfistream_annot::_lab
protected

Definition at line 240 of file hcstream.h.

Referenced by _get_file_anninfo(), _get_obj_anninfo(), _init(), and set_annot_type().

int32 hdfistream_annot::_ref
protected

Definition at line 239 of file hcstream.h.

Referenced by _get_obj_anninfo(), _init(), and open().

int32 hdfistream_annot::_tag
protected

Definition at line 239 of file hcstream.h.

Referenced by _get_obj_anninfo(), _init(), and open().


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