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

#include <HDF5Array.h>

Inheritance diagram for HDF5Array:
Inheritance graph
Collaboration diagram for HDF5Array:
Collaboration graph

Public Member Functions

hid_t get_did ()
 returns HDF5 dataset id. More...
 
hid_t get_tid ()
 returns HDF5 datatype id. More...
 
 HDF5Array (const string &n, const string &d, BaseType *v)
 Constructor. More...
 
virtual BaseType * ptr_duplicate ()
 Clone this instance. More...
 
virtual bool read ()
 Reads HDF5 array data into local buffer. More...
 
bool read_vlen_string (hid_t d_dset_id, hid_t d_ty_id, int nelms, int *offset, int *step, int *count)
 Reads HDF5 variable length string array data into local buffer. More...
 
void set_did (hid_t dset)
 remembers HDF5 dataset id. More...
 
void set_memneed (size_t need)
 remembers memory size needed. More...
 
void set_numdim (int ndims)
 remembers number of dimensions of this array. More...
 
void set_numelm (int nelms)
 remembers number of elements in this array. More...
 
void set_tid (hid_t type)
 remembers HDF5 datatype id. More...
 
virtual ~HDF5Array ()
 

Public Attributes

H5T_class_t d_type
 HDF5 data type class. More...
 

Friends

string return_type (hid_t datatype)
 See return_type function defined in h5dds.cc. More...
 

Detailed Description

Definition at line 49 of file HDF5Array.h.

Constructor & Destructor Documentation

HDF5Array::HDF5Array ( const string &  n,
const string &  d,
BaseType *  v 
)

Constructor.

Definition at line 57 of file HDF5Array.cc.

HDF5Array::~HDF5Array ( )
virtual

Definition at line 61 of file HDF5Array.cc.

Member Function Documentation

hid_t HDF5Array::get_did ( )

returns HDF5 dataset id.

Definition at line 706 of file HDF5Array.cc.

hid_t HDF5Array::get_tid ( )

returns HDF5 datatype id.

Definition at line 710 of file HDF5Array.cc.

BaseType * HDF5Array::ptr_duplicate ( )
virtual

Clone this instance.

Allocate a new instance and copy *this into it. This method must perform a deep copy.

Returns
A newly allocated copy of this class

Definition at line 53 of file HDF5Array.cc.

bool HDF5Array::read ( )
virtual

Reads HDF5 array data into local buffer.

Definition at line 586 of file HDF5Array.cc.

References get_dap_type(), get_data(), get_slabdata(), and read_vlen_string().

Here is the call graph for this function:

bool HDF5Array::read_vlen_string ( hid_t  d_dset_id,
hid_t  d_ty_id,
int  nelms,
int *  offset,
int *  step,
int *  count 
)

Reads HDF5 variable length string array data into local buffer.

Definition at line 806 of file HDF5Array.cc.

References max, and NULL.

Referenced by read().

void HDF5Array::set_did ( hid_t  dset)

remembers HDF5 dataset id.

Definition at line 686 of file HDF5Array.cc.

Referenced by read_objects_base_type(), and read_objects_structure().

void HDF5Array::set_memneed ( size_t  need)

remembers memory size needed.

Definition at line 694 of file HDF5Array.cc.

Referenced by read_objects_base_type(), and read_objects_structure().

void HDF5Array::set_numdim ( int  ndims)

remembers number of dimensions of this array.

Definition at line 698 of file HDF5Array.cc.

Referenced by read_objects_base_type(), and read_objects_structure().

void HDF5Array::set_numelm ( int  nelms)

remembers number of elements in this array.

Definition at line 702 of file HDF5Array.cc.

Referenced by read_objects_base_type(), and read_objects_structure().

void HDF5Array::set_tid ( hid_t  type)

remembers HDF5 datatype id.

Definition at line 690 of file HDF5Array.cc.

Referenced by read_objects_base_type(), and read_objects_structure().

Friends And Related Function Documentation

string return_type ( hid_t  datatype)
friend

See return_type function defined in h5dds.cc.

Member Data Documentation

H5T_class_t HDF5Array::d_type

HDF5 data type class.

Definition at line 79 of file HDF5Array.h.


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