bes Updated for version 3.20.13
hdfistream_sds Class Reference
Collaboration diagram for hdfistream_sds:
Collaboration graph

Classes

struct  slab
 

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_dim (void) const
 
virtual bool eos (void) const
 
vector< array_ceget_map_ce ()
 
 hdfistream_sds (const hdfistream_sds &)
 
 hdfistream_sds (const string filename="")
 
virtual int index (void) const
 
bool is_map_ce_set ()
 
virtual void open (const char *filename=0)
 
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)
 
virtual void rewind (void)
 
virtual void seek (const char *name)
 
virtual void seek (int index=0)
 
virtual void seek_next (void)
 
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)
 

Protected Attributes

int32 _attr_index
 
int32 _dim_index
 
bool _map_ce_set
 
vector< array_ce_map_ce_vec
 
bool _meta
 
int32 _nattrs
 
int32 _nfattrs
 
int32 _nsds
 
int32 _rank
 
int32 _sds_id
 
struct hdfistream_sds::slab _slab
 

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()

virtual hdfistream_sds::~hdfistream_sds ( void  )
inlinevirtual

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
virtual

Implements hdfistream_obj.

Definition at line 239 of file sds.cc.

◆ close()

void hdfistream_sds::close ( void  )
virtual

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
virtual

Implements hdfistream_obj.

Definition at line 224 of file sds.cc.

◆ get_map_ce()

vector< array_ce > hdfistream_sds::get_map_ce ( )
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 ( )
inline

Definition at line 125 of file hcstream.h.

◆ open()

void hdfistream_sds::open ( const char *  filename = 0)
virtual

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 663 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 396 of file sds.cc.

◆ operator>>() [4/6]

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

Definition at line 742 of file sds.cc.

◆ operator>>() [5/6]

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

Definition at line 753 of file sds.cc.

◆ operator>>() [6/6]

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

Definition at line 731 of file sds.cc.

◆ rewind()

void hdfistream_sds::rewind ( void  )
virtual

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)
virtual

Implements hdfistream_obj.

Definition at line 317 of file sds.cc.

◆ seek_next()

void hdfistream_sds::seek_next ( void  )
virtual

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

◆ _attr_index

int32 hdfistream_sds::_attr_index
protected

Definition at line 155 of file hcstream.h.

◆ _dim_index

int32 hdfistream_sds::_dim_index
protected

Definition at line 156 of file hcstream.h.

◆ _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.

◆ _map_ce_set

bool hdfistream_sds::_map_ce_set
protected

Definition at line 181 of file hcstream.h.

◆ _map_ce_vec

vector< array_ce > hdfistream_sds::_map_ce_vec
protected

Definition at line 180 of file hcstream.h.

◆ _meta

bool hdfistream_sds::_meta
protected

Definition at line 161 of file hcstream.h.

◆ _nattrs

int32 hdfistream_sds::_nattrs
protected

Definition at line 158 of file hcstream.h.

◆ _nfattrs

int32 hdfistream_sds::_nfattrs
protected

Definition at line 160 of file hcstream.h.

◆ _nsds

int32 hdfistream_sds::_nsds
protected

Definition at line 159 of file hcstream.h.

◆ _rank

int32 hdfistream_sds::_rank
protected

Definition at line 157 of file hcstream.h.

◆ _sds_id

int32 hdfistream_sds::_sds_id
protected

Definition at line 154 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: