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

#include <HDF5Structure.h>

Inheritance diagram for HDF5Structure:
Inheritance graph
Collaboration diagram for HDF5Structure:
Collaboration graph

Public Member Functions

int get_array_index ()
 returns the array index of this Structure if it's a part of array of structures. More...
 
int get_array_size ()
 returns the array size for subsetting if it's a part of array of structures. More...
 
hid_t get_did ()
 returns HDF5 dataset id. More...
 
int get_entire_array_size ()
 returns the entire array size of this Structure if it's a part of array of structures. More...
 
hid_t get_tid ()
 returns HDF5 datatype id. More...
 
 HDF5Structure (const string &n, const string &d)
 Constructor. More...
 
HDF5Structureoperator= (const HDF5Structure &rhs)
 Assignment operator for dynamic cast into generic Structure. More...
 
virtual BaseType * ptr_duplicate ()
 Clone this instance. More...
 
virtual bool read ()
 Reads HDF5 structure data by calling each member's read method in this structure. More...
 
void set_array_index (int i)
 remembers the array index of this Structure if it's a part of array of structures. More...
 
void set_array_size (int i)
 remembers the array size for subsetting if it's a part of array of structures. More...
 
void set_did (hid_t dset)
 remembers HDF5 datatype id. More...
 
void set_entire_array_size (int i)
 returns the entire array size of this Structure if it's a part of array of structures. More...
 
void set_tid (hid_t type)
 remembers HDF5 datatype id. More...
 
virtual ~HDF5Structure ()
 

Friends

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

Detailed Description

Definition at line 44 of file HDF5Structure.h.

Constructor & Destructor Documentation

HDF5Structure::HDF5Structure ( const string &  n,
const string &  d 
)

Constructor.

Definition at line 45 of file HDF5Structure.cc.

Referenced by ptr_duplicate().

HDF5Structure::~HDF5Structure ( )
virtual

Definition at line 55 of file HDF5Structure.cc.

Member Function Documentation

int HDF5Structure::get_array_index ( )

returns the array index of this Structure if it's a part of array of structures.

Definition at line 132 of file HDF5Structure.cc.

Referenced by HDF5Float32::read(), HDF5Byte::read(), HDF5UInt32::read(), HDF5Int32::read(), HDF5UInt16::read(), HDF5Int16::read(), HDF5Float64::read(), and HDF5Str::read().

int HDF5Structure::get_array_size ( )

returns the array size for subsetting if it's a part of array of structures.

Definition at line 142 of file HDF5Structure.cc.

hid_t HDF5Structure::get_did ( )

returns HDF5 dataset id.

Definition at line 117 of file HDF5Structure.cc.

int HDF5Structure::get_entire_array_size ( )

returns the entire array size of this Structure if it's a part of array of structures.

Definition at line 152 of file HDF5Structure.cc.

Referenced by HDF5Float32::read(), HDF5Byte::read(), HDF5UInt32::read(), HDF5Int32::read(), HDF5UInt16::read(), HDF5Int16::read(), and HDF5Float64::read().

hid_t HDF5Structure::get_tid ( )

returns HDF5 datatype id.

Definition at line 122 of file HDF5Structure.cc.

HDF5Structure & HDF5Structure::operator= ( const HDF5Structure rhs)

Assignment operator for dynamic cast into generic Structure.

Definition at line 59 of file HDF5Structure.cc.

BaseType * HDF5Structure::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 40 of file HDF5Structure.cc.

References HDF5Structure().

Here is the call graph for this function:

bool HDF5Structure::read ( )
virtual

Reads HDF5 structure data by calling each member's read method in this structure.

Definition at line 70 of file HDF5Structure.cc.

void HDF5Structure::set_array_index ( int  i)

remembers the array index of this Structure if it's a part of array of structures.

Definition at line 127 of file HDF5Structure.cc.

void HDF5Structure::set_array_size ( int  i)

remembers the array size for subsetting if it's a part of array of structures.

Definition at line 137 of file HDF5Structure.cc.

void HDF5Structure::set_did ( hid_t  dset)

remembers HDF5 datatype id.

Definition at line 107 of file HDF5Structure.cc.

void HDF5Structure::set_entire_array_size ( int  i)

returns the entire array size of this Structure if it's a part of array of structures.

Definition at line 147 of file HDF5Structure.cc.

void HDF5Structure::set_tid ( hid_t  type)

remembers HDF5 datatype id.

Definition at line 112 of file HDF5Structure.cc.

Friends And Related Function Documentation

string return_type ( hid_t  datatype)
friend

See return_type function defined in h5dds.cc.


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