bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
hdfistream_sds Class Reference
Inheritance diagram for hdfistream_sds:
Inheritance graph
Collaboration diagram for hdfistream_sds:
Collaboration graph

Public Member Functions

void _init (const string &filename="")
 
bool bos (void) const override
 
void close (void) override
 
virtual bool eo_attr (void) const
 
virtual bool eo_dim (void) const
 
bool eos (void) const override
 
vector< array_ceget_map_ce () const
 
 hdfistream_sds (const hdfistream_sds &)
 
 hdfistream_sds (const string &filename="")
 
virtual int index (void) const
 
bool is_map_ce_set () const
 
void open (const char *filename=nullptr) override
 
void operator= (const hdfistream_sds &)
 
hdfistream_sdsoperator>> (hdf_attr &ha)
 
hdfistream_sdsoperator>> (hdf_dim &hd)
 
hdfistream_sdsoperator>> (hdf_sds &hs)
 
hdfistream_sdsoperator>> (vector< hdf_attr > &hav)
 
hdfistream_sdsoperator>> (vector< hdf_dim > &hdv)
 
hdfistream_sdsoperator>> (vector< hdf_sds > &hsv)
 
void rewind (void) override
 
virtual void seek (const char *name)
 
void seek (int index=0) override
 
void seek_next (void) override
 
virtual void seek_ref (int ref)
 
void set_map_ce (const vector< array_ce > &a_ce)
 
void setmeta (bool val)
 
void setslab (int *start, int *edge, int *stride, bool reduce_rank=false)
 
void setslab (vector< int >start, vector< int >edge, vector< int >stride, bool reduce_rank=false)
 
void unsetslab (void)
 

Public Attributes

int32 _file_id
 
string _filename
 
int _index
 

Protected Member Functions

void _close_sds (void)
 
void _del (void)
 
void _get_fileinfo (void)
 
void _get_sdsinfo (void)
 
void _init (void)
 
void _rewind (void)
 
void _seek_arr (const string &name)
 
void _seek_arr (int index)
 
void _seek_arr_ref (int ref)
 
void _seek_next_arr (void)
 

Static Protected Attributes

static const string format = "format"
 
static const string long_name = "long_name"
 
static const string units = "units"
 

Detailed Description

Definition at line 84 of file hcstream.h.

Constructor & Destructor Documentation

◆ hdfistream_sds() [1/2]

hdfistream_sds::hdfistream_sds ( const string & filename = "")
explicit

Definition at line 214 of file sds.cc.

◆ hdfistream_sds() [2/2]

hdfistream_sds::hdfistream_sds ( const hdfistream_sds & )
inline

Definition at line 88 of file hcstream.h.

◆ ~hdfistream_sds()

hdfistream_sds::~hdfistream_sds ( void )
inlineoverride

Definition at line 91 of file hcstream.h.

Member Function Documentation

◆ _close_sds()

void hdfistream_sds::_close_sds ( void )
protected

Definition at line 117 of file sds.cc.

◆ _del()

void hdfistream_sds::_del ( void )
inlineprotected

Definition at line 136 of file hcstream.h.

◆ _get_fileinfo()

void hdfistream_sds::_get_fileinfo ( void )
protected

Definition at line 93 of file sds.cc.

◆ _get_sdsinfo()

void hdfistream_sds::_get_sdsinfo ( void )
protected

Definition at line 101 of file sds.cc.

◆ _init() [1/2]

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

Definition at line 74 of file hcstream.h.

◆ _init() [2/2]

void hdfistream_sds::_init ( void )
protected

Definition at line 82 of file sds.cc.

◆ _rewind()

void hdfistream_sds::_rewind ( void )
inlineprotected

Definition at line 146 of file hcstream.h.

◆ _seek_arr() [1/2]

void hdfistream_sds::_seek_arr ( const string & name)
protected

Definition at line 160 of file sds.cc.

◆ _seek_arr() [2/2]

void hdfistream_sds::_seek_arr ( int index)
protected

Definition at line 152 of file sds.cc.

◆ _seek_arr_ref()

void hdfistream_sds::_seek_arr_ref ( int ref)
protected

Definition at line 185 of file sds.cc.

◆ _seek_next_arr()

void hdfistream_sds::_seek_next_arr ( void )
protected

Definition at line 128 of file sds.cc.

◆ bos()

bool hdfistream_sds::bos ( void ) const
overridevirtual

Implements hdfistream_obj.

Definition at line 239 of file sds.cc.

◆ close()

void hdfistream_sds::close ( void )
overridevirtual

Implements hdfistream_obj.

Definition at line 305 of file sds.cc.

◆ eo_attr()

bool hdfistream_sds::eo_attr ( void ) const
virtual

Definition at line 253 of file sds.cc.

◆ eo_dim()

bool hdfistream_sds::eo_dim ( void ) const
virtual

Definition at line 269 of file sds.cc.

◆ eos()

bool hdfistream_sds::eos ( void ) const
overridevirtual

Implements hdfistream_obj.

Definition at line 224 of file sds.cc.

◆ get_map_ce()

vector< array_ce > hdfistream_sds::get_map_ce ( ) const
inline

Definition at line 122 of file hcstream.h.

◆ index()

virtual int hdfistream_obj::index ( void ) const
inlinevirtualinherited

Definition at line 71 of file hcstream.h.

◆ is_map_ce_set()

bool hdfistream_sds::is_map_ce_set ( ) const
inline

Definition at line 125 of file hcstream.h.

◆ open()

void hdfistream_sds::open ( const char * filename = nullptr)
overridevirtual

Implements hdfistream_obj.

Definition at line 284 of file sds.cc.

◆ operator=()

void hdfistream_sds::operator= ( const hdfistream_sds & )
inline

Definition at line 94 of file hcstream.h.

◆ operator>>() [1/6]

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

Definition at line 664 of file sds.cc.

◆ operator>>() [2/6]

hdfistream_sds & hdfistream_sds::operator>> ( hdf_dim & hd)

Definition at line 491 of file sds.cc.

◆ operator>>() [3/6]

hdfistream_sds & hdfistream_sds::operator>> ( hdf_sds & hs)

Definition at line 395 of file sds.cc.

◆ operator>>() [4/6]

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

Definition at line 735 of file sds.cc.

◆ operator>>() [5/6]

hdfistream_sds & hdfistream_sds::operator>> ( vector< hdf_dim > & hdv)

Definition at line 746 of file sds.cc.

◆ operator>>() [6/6]

hdfistream_sds & hdfistream_sds::operator>> ( vector< hdf_sds > & hsv)

Definition at line 724 of file sds.cc.

◆ rewind()

void hdfistream_sds::rewind ( void )
overridevirtual

Implements hdfistream_obj.

Definition at line 339 of file sds.cc.

◆ seek() [1/2]

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

Definition at line 328 of file sds.cc.

◆ seek() [2/2]

void hdfistream_sds::seek ( int index = 0)
overridevirtual

Implements hdfistream_obj.

Definition at line 317 of file sds.cc.

◆ seek_next()

void hdfistream_sds::seek_next ( void )
overridevirtual

Implements hdfistream_obj.

Definition at line 348 of file sds.cc.

◆ seek_ref()

void hdfistream_sds::seek_ref ( int ref)
virtual

Definition at line 358 of file sds.cc.

◆ set_map_ce()

void hdfistream_sds::set_map_ce ( const vector< array_ce > & a_ce)
inline

Definition at line 118 of file hcstream.h.

◆ setmeta()

void hdfistream_sds::setmeta ( bool val)
inline

Definition at line 108 of file hcstream.h.

◆ setslab()

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

Definition at line 369 of file sds.cc.

◆ unsetslab()

void hdfistream_sds::unsetslab ( void )
inline

Definition at line 115 of file hcstream.h.

Member Data Documentation

◆ _file_id

int32 hdfistream_obj::_file_id
inherited

Definition at line 80 of file hcstream.h.

◆ _filename

string hdfistream_obj::_filename
inherited

Definition at line 79 of file hcstream.h.

◆ _index

int hdfistream_obj::_index
inherited

Definition at line 81 of file hcstream.h.

◆ format

const string hdfistream_sds::format = "format"
staticprotected

Definition at line 153 of file hcstream.h.

◆ long_name

const string hdfistream_sds::long_name = "long_name"
staticprotected

Definition at line 151 of file hcstream.h.

◆ units

const string hdfistream_sds::units = "units"
staticprotected

Definition at line 152 of file hcstream.h.


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