46 int getNmembers()
const;
49 int getMemberIndex(
const char *name)
const;
50 int getMemberIndex(
const H5std_string &name)
const;
53 void getMemberValue(
unsigned memb_no,
void *value)
const;
56 void insert(
const char *name,
void *value)
const;
57 void insert(
const H5std_string &name,
void *value)
const;
61 H5std_string nameOf(
void *value,
size_t size)
const;
65 void valueOf(
const char *name,
void *value)
const;
66 void valueOf(
const H5std_string &name,
void *value)
const;
89 #endif // H5EnumType_H
virtual hid_t getId() const
Get the id of this datatype.
Definition: H5DataType.cpp:900
IntType is a derivative of a DataType and operates on HDF5 integer datatype.
Definition: H5IntType.h:24
Class DataSet operates on HDF5 datasets.
Definition: H5DataSet.h:27
Definition: H5Exception.h:109
int getNmembers() const
Returns the number of members in this enumeration datatype.
Definition: H5EnumType.cpp:311
int getMemberIndex(const char *name) const
Returns the index of a member in this enumeration datatype.
Definition: H5EnumType.cpp:281
EnumType()
Default constructor: Creates a stub datatype.
Definition: H5EnumType.cpp:43
virtual ~EnumType()
Properly terminates access to this enum datatype.
Definition: H5EnumType.cpp:345
virtual DataType * decode() const
Returns an EnumType object via DataType* by decoding the binary object description of this type.
Definition: H5EnumType.cpp:164
void insert(const char *name, void *value) const
Inserts a new member to this enumeration datatype.
Definition: H5EnumType.cpp:187
virtual hid_t getId() const
Get the id of this dataset.
Definition: H5DataSet.cpp:693
void getMemberValue(unsigned memb_no, void *value) const
Retrieves the value of a member in this enumeration datatype, given the member's index.
Definition: H5EnumType.cpp:331
EnumType is a derivative of a DataType and operates on HDF5 enum datatypes.
Definition: H5EnumType.h:24
Definition: H5AbstractDs.cpp:33
void valueOf(const char *name, void *value) const
Retrieves the value corresponding to a member of this enumeration datatype, given the member's name.
Definition: H5EnumType.cpp:248
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:27
H5std_string nameOf(void *value, size_t size) const
Returns the symbol name corresponding to a specified member of this enumeration datatype.
Definition: H5EnumType.cpp:219
H5Location is an abstract base class, added in version 1.8.12.
Definition: H5Location.h:30
Definition: H5Exception.h:130
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5EnumType.h:70
The HDF Group Help Desk:
| |
Copyright by
The HDF Group
|