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

#include <hdfclass.h>

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 (void)
 
 hdf_genvec (int32 nt, void *data, int begin, int end, int stride=1)
 
 hdf_genvec (int32 nt, void *data, int nelts)
 
 hdf_genvec (const hdf_genvec &gv)
 
void import (int32 nt, void *data, int nelts)
 
void import (int32 nt, void *data, int begin, int end, int stride=1)
 
void import (int32 nt)
 
void import (int32 nt, const vector< string > &sv)
 
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
 
virtual ~hdf_genvec (void)
 

Protected Member Functions

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

Protected Attributes

char * _data
 
int _nelts
 
int32 _nt
 

Detailed Description

Definition at line 71 of file hdfclass.h.

Constructor & Destructor Documentation

hdf_genvec::hdf_genvec ( void  )

Definition at line 159 of file genvec.cc.

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::hdf_genvec ( int32  nt,
void *  data,
int  nelts 
)

Definition at line 172 of file genvec.cc.

hdf_genvec::hdf_genvec ( const hdf_genvec gv)

Definition at line 178 of file genvec.cc.

hdf_genvec::~hdf_genvec ( void  )
virtual

Definition at line 184 of file genvec.cc.

Member Function Documentation

void hdf_genvec::_del ( void  )
protected

Definition at line 145 of file genvec.cc.

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

Definition at line 86 of file genvec.cc.

References THROW.

void hdf_genvec::_init ( void  )
protected

Definition at line 125 of file genvec.cc.

void hdf_genvec::_init ( const hdf_genvec gv)
protected

Definition at line 133 of file genvec.cc.

References _data, _init(), _nelts, and _nt.

Referenced by _init().

Here is the call graph for this function:

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

Definition at line 200 of file genvec.cc.

References THROW.

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

Definition at line 86 of file hdfclass.h.

Referenced by import(), LoadArrayFromGR(), and LoadArrayFromSDS().

char8 hdf_genvec::elt_char8 ( int  i) const

Definition at line 441 of file genvec.cc.

References THROW.

float32 hdf_genvec::elt_float32 ( int  i) const

Definition at line 825 of file genvec.cc.

References THROW.

Referenced by ExportDataForDODS().

float64 hdf_genvec::elt_float64 ( int  i) const

Definition at line 859 of file genvec.cc.

References THROW.

Referenced by ExportDataForDODS().

int16 hdf_genvec::elt_int16 ( int  i) const

Definition at line 637 of file genvec.cc.

References THROW.

Referenced by ExportDataForDODS().

int32 hdf_genvec::elt_int32 ( int  i) const

Definition at line 762 of file genvec.cc.

References THROW.

Referenced by ExportDataForDODS().

int8 hdf_genvec::elt_int8 ( int  i) const

Definition at line 535 of file genvec.cc.

References THROW.

uchar8 hdf_genvec::elt_uchar8 ( int  i) const

Definition at line 386 of file genvec.cc.

References THROW.

uint16 hdf_genvec::elt_uint16 ( int  i) const

Definition at line 582 of file genvec.cc.

References THROW.

Referenced by ExportDataForDODS().

uint32 hdf_genvec::elt_uint32 ( int  i) const

Definition at line 698 of file genvec.cc.

References THROW.

Referenced by ExportDataForDODS().

uint8 hdf_genvec::elt_uint8 ( int  i) const

Definition at line 489 of file genvec.cc.

References THROW.

Referenced by ExportDataForDODS().

char8 * hdf_genvec::export_char8 ( void  ) const

Definition at line 428 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

float32 * hdf_genvec::export_float32 ( void  ) const

Definition at line 814 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Referenced by ExportDataForDODS().

Here is the call graph for this function:

float64 * hdf_genvec::export_float64 ( void  ) const

Definition at line 846 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Referenced by ExportDataForDODS().

Here is the call graph for this function:

int16 * hdf_genvec::export_int16 ( void  ) const

Definition at line 618 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Referenced by ExportDataForDODS().

Here is the call graph for this function:

int32 * hdf_genvec::export_int32 ( void  ) const

Definition at line 739 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Referenced by ExportDataForDODS().

Here is the call graph for this function:

int8 * hdf_genvec::export_int8 ( void  ) const

Definition at line 522 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

string hdf_genvec::export_string ( void  ) const

Definition at line 890 of file genvec.cc.

References THROW.

uchar8 * hdf_genvec::export_uchar8 ( void  ) const

Definition at line 368 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

uint16 * hdf_genvec::export_uint16 ( void  ) const

Definition at line 567 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Referenced by ExportDataForDODS().

Here is the call graph for this function:

uint32 * hdf_genvec::export_uint32 ( void  ) const

Definition at line 681 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Referenced by ExportDataForDODS().

Here is the call graph for this function:

uint8 * hdf_genvec::export_uint8 ( void  ) const

Definition at line 476 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Referenced by ExportDataForDODS().

Here is the call graph for this function:

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

Definition at line 456 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

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

Definition at line 835 of file genvec.cc.

References THROW.

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

Definition at line 873 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

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

Definition at line 657 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

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

Definition at line 787 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

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

Definition at line 550 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

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

Definition at line 406 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

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

Definition at line 598 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

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

Definition at line 717 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

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

Definition at line 504 of file genvec.cc.

References ConvertArrayByCast(), and THROW.

Here is the call graph for this function:

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

Definition at line 91 of file hdfclass.h.

References data().

Referenced by hdfistream_sds::operator>>(), and hdfistream_gri::operator>>().

Here is the call graph for this function:

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

Definition at line 233 of file genvec.cc.

void hdf_genvec::import ( int32  nt)
inline

Definition at line 96 of file hdfclass.h.

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

Definition at line 245 of file genvec.cc.

References hdfclass::MAXSTR, and THROW.

int32 hdf_genvec::number_type ( void  ) const
inline

Definition at line 82 of file hdfclass.h.

References _nt.

Referenced by ExportDataForDODS(), LoadArrayFromGR(), LoadArrayFromSDS(), NewArrayFromGR(), and NewArrayFromSDS().

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

Definition at line 190 of file genvec.cc.

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

Definition at line 904 of file genvec.cc.

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

Definition at line 913 of file genvec.cc.

References hdfclass::MAXSTR, and THROW.

int hdf_genvec::size ( void  ) const
inline

Definition at line 84 of file hdfclass.h.

Referenced by hdf_gri::_ok().

Member Data Documentation

char* hdf_genvec::_data
protected

Definition at line 145 of file hdfclass.h.

Referenced by _init().

int hdf_genvec::_nelts
protected

Definition at line 144 of file hdfclass.h.

Referenced by _init().

int32 hdf_genvec::_nt
protected

Definition at line 143 of file hdfclass.h.

Referenced by _init(), and number_type().


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