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

Public Member Functions

void append (int32 nt, const char *new_data, int32 nelts)
 
const char * data (void) const
 
char8 elt_char8 (int i) const
 
float32 elt_float32 (int i) const
 
float64 elt_float64 (int i) const
 
int16 elt_int16 (int i) const
 
int32 elt_int32 (int i) const
 
int8 elt_int8 (int i) const
 
uchar8 elt_uchar8 (int i) const
 
uint16 elt_uint16 (int i) const
 
uint32 elt_uint32 (int i) const
 
uint8 elt_uint8 (int i) const
 
char8 * export_char8 (void) const
 
float32 * export_float32 (void) const
 
float64 * export_float64 (void) const
 
int16 * export_int16 (void) const
 
int32 * export_int32 (void) const
 
int8 * export_int8 (void) const
 
string export_string (void) const
 
uchar8 * export_uchar8 (void) const
 
uint16 * export_uint16 (void) const
 
uint32 * export_uint32 (void) const
 
uint8 * export_uint8 (void) const
 
vector< char8 > exportv_char8 (void) const
 
vector< float32 > exportv_float32 (void) const
 
vector< float64 > exportv_float64 (void) const
 
vector< int16 > exportv_int16 (void) const
 
vector< int32 > exportv_int32 (void) const
 
vector< int8 > exportv_int8 (void) const
 
vector< uchar8 > exportv_uchar8 (void) const
 
vector< uint16 > exportv_uint16 (void) const
 
vector< uint32 > exportv_uint32 (void) const
 
vector< uint8 > exportv_uint8 (void) const
 
 hdf_genvec (const hdf_genvec &gv)
 
 hdf_genvec (int32 nt, void *data, int begin, int end, int stride=1)
 
 hdf_genvec (int32 nt, void *data, int nelts)
 
void import (int32 nt)
 
void import (int32 nt, const vector< string > &sv)
 
void import (int32 nt, void *data, int begin, int end, int stride=1)
 
void import (int32 nt, void *data, int nelts)
 
int32 number_type (void) const
 
hdf_genvecoperator= (const hdf_genvec &gv)
 
void print (vector< string > &strv) const
 
void print (vector< string > &strv, int begin, int end, int stride) const
 
int size (void) const
 

Protected Member Functions

void _del (void)
 
void _init (const hdf_genvec &gv)
 
void _init (int32 nt, void *data, int begin, int end, int stride=1)
 
void _init (void)
 

Protected Attributes

char * _data
 
int _nelts
 
int32 _nt
 

Detailed Description

Definition at line 71 of file hdfclass.h.

Constructor & Destructor Documentation

◆ hdf_genvec() [1/4]

hdf_genvec::hdf_genvec ( void  )

Definition at line 159 of file genvec.cc.

◆ hdf_genvec() [2/4]

hdf_genvec::hdf_genvec ( int32  nt,
void *  data,
int  begin,
int  end,
int  stride = 1 
)

Definition at line 165 of file genvec.cc.

◆ hdf_genvec() [3/4]

hdf_genvec::hdf_genvec ( int32  nt,
void *  data,
int  nelts 
)

Definition at line 172 of file genvec.cc.

◆ hdf_genvec() [4/4]

hdf_genvec::hdf_genvec ( const hdf_genvec gv)

Definition at line 178 of file genvec.cc.

◆ ~hdf_genvec()

hdf_genvec::~hdf_genvec ( void  )
virtual

Definition at line 184 of file genvec.cc.

Member Function Documentation

◆ _del()

void hdf_genvec::_del ( void  )
protected

Definition at line 145 of file genvec.cc.

◆ _init() [1/3]

void hdf_genvec::_init ( const hdf_genvec gv)
protected

Definition at line 133 of file genvec.cc.

◆ _init() [2/3]

void hdf_genvec::_init ( int32  nt,
void *  data,
int  begin,
int  end,
int  stride = 1 
)
protected

Definition at line 86 of file genvec.cc.

◆ _init() [3/3]

void hdf_genvec::_init ( void  )
protected

Definition at line 125 of file genvec.cc.

◆ append()

void hdf_genvec::append ( int32  nt,
const char *  new_data,
int32  nelts 
)

Definition at line 200 of file genvec.cc.

◆ data()

const char * hdf_genvec::data ( void  ) const
inline

Definition at line 86 of file hdfclass.h.

◆ elt_char8()

char8 hdf_genvec::elt_char8 ( int  i) const

Definition at line 442 of file genvec.cc.

◆ elt_float32()

float32 hdf_genvec::elt_float32 ( int  i) const

Definition at line 826 of file genvec.cc.

◆ elt_float64()

float64 hdf_genvec::elt_float64 ( int  i) const

Definition at line 861 of file genvec.cc.

◆ elt_int16()

int16 hdf_genvec::elt_int16 ( int  i) const

Definition at line 638 of file genvec.cc.

◆ elt_int32()

int32 hdf_genvec::elt_int32 ( int  i) const

Definition at line 763 of file genvec.cc.

◆ elt_int8()

int8 hdf_genvec::elt_int8 ( int  i) const

Definition at line 536 of file genvec.cc.

◆ elt_uchar8()

uchar8 hdf_genvec::elt_uchar8 ( int  i) const

Definition at line 387 of file genvec.cc.

◆ elt_uint16()

uint16 hdf_genvec::elt_uint16 ( int  i) const

Definition at line 583 of file genvec.cc.

◆ elt_uint32()

uint32 hdf_genvec::elt_uint32 ( int  i) const

Definition at line 699 of file genvec.cc.

◆ elt_uint8()

uint8 hdf_genvec::elt_uint8 ( int  i) const

Definition at line 490 of file genvec.cc.

◆ export_char8()

char8 * hdf_genvec::export_char8 ( void  ) const

Definition at line 429 of file genvec.cc.

◆ export_float32()

float32 * hdf_genvec::export_float32 ( void  ) const

Definition at line 815 of file genvec.cc.

◆ export_float64()

float64 * hdf_genvec::export_float64 ( void  ) const

Definition at line 848 of file genvec.cc.

◆ export_int16()

int16 * hdf_genvec::export_int16 ( void  ) const

Definition at line 619 of file genvec.cc.

◆ export_int32()

int32 * hdf_genvec::export_int32 ( void  ) const

Definition at line 740 of file genvec.cc.

◆ export_int8()

int8 * hdf_genvec::export_int8 ( void  ) const

Definition at line 523 of file genvec.cc.

◆ export_string()

string hdf_genvec::export_string ( void  ) const

Definition at line 892 of file genvec.cc.

◆ export_uchar8()

uchar8 * hdf_genvec::export_uchar8 ( void  ) const

Definition at line 369 of file genvec.cc.

◆ export_uint16()

uint16 * hdf_genvec::export_uint16 ( void  ) const

Definition at line 568 of file genvec.cc.

◆ export_uint32()

uint32 * hdf_genvec::export_uint32 ( void  ) const

Definition at line 682 of file genvec.cc.

◆ export_uint8()

uint8 * hdf_genvec::export_uint8 ( void  ) const

Definition at line 477 of file genvec.cc.

◆ exportv_char8()

vector< char8 > hdf_genvec::exportv_char8 ( void  ) const

Definition at line 457 of file genvec.cc.

◆ exportv_float32()

vector< float32 > hdf_genvec::exportv_float32 ( void  ) const

Definition at line 836 of file genvec.cc.

◆ exportv_float64()

vector< float64 > hdf_genvec::exportv_float64 ( void  ) const

Definition at line 875 of file genvec.cc.

◆ exportv_int16()

vector< int16 > hdf_genvec::exportv_int16 ( void  ) const

Definition at line 658 of file genvec.cc.

◆ exportv_int32()

vector< int32 > hdf_genvec::exportv_int32 ( void  ) const

Definition at line 788 of file genvec.cc.

◆ exportv_int8()

vector< int8 > hdf_genvec::exportv_int8 ( void  ) const

Definition at line 551 of file genvec.cc.

◆ exportv_uchar8()

vector< uchar8 > hdf_genvec::exportv_uchar8 ( void  ) const

Definition at line 407 of file genvec.cc.

◆ exportv_uint16()

vector< uint16 > hdf_genvec::exportv_uint16 ( void  ) const

Definition at line 599 of file genvec.cc.

◆ exportv_uint32()

vector< uint32 > hdf_genvec::exportv_uint32 ( void  ) const

Definition at line 718 of file genvec.cc.

◆ exportv_uint8()

vector< uint8 > hdf_genvec::exportv_uint8 ( void  ) const

Definition at line 505 of file genvec.cc.

◆ import() [1/4]

void hdf_genvec::import ( int32  nt)
inline

Definition at line 96 of file hdfclass.h.

◆ import() [2/4]

void hdf_genvec::import ( int32  nt,
const vector< string > &  sv 
)

Definition at line 245 of file genvec.cc.

◆ import() [3/4]

void hdf_genvec::import ( int32  nt,
void *  data,
int  begin,
int  end,
int  stride = 1 
)

Definition at line 233 of file genvec.cc.

◆ import() [4/4]

void hdf_genvec::import ( int32  nt,
void *  data,
int  nelts 
)
inline

Definition at line 91 of file hdfclass.h.

◆ number_type()

int32 hdf_genvec::number_type ( void  ) const
inline

Definition at line 82 of file hdfclass.h.

◆ operator=()

hdf_genvec & hdf_genvec::operator= ( const hdf_genvec gv)

Definition at line 190 of file genvec.cc.

◆ print() [1/2]

void hdf_genvec::print ( vector< string > &  strv) const

Definition at line 906 of file genvec.cc.

◆ print() [2/2]

void hdf_genvec::print ( vector< string > &  strv,
int  begin,
int  end,
int  stride 
) const

Definition at line 915 of file genvec.cc.

◆ size()

int hdf_genvec::size ( void  ) const
inline

Definition at line 84 of file hdfclass.h.

Member Data Documentation

◆ _data

char* hdf_genvec::_data
protected

Definition at line 145 of file hdfclass.h.

◆ _nelts

int hdf_genvec::_nelts
protected

Definition at line 144 of file hdfclass.h.

◆ _nt

int32 hdf_genvec::_nt
protected

Definition at line 143 of file hdfclass.h.


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