52 H5T_class_t getMemberClass(
unsigned member_num)
const;
55 int getMemberIndex(
const char *name)
const;
56 int getMemberIndex(
const H5std_string &name)
const;
59 size_t getMemberOffset(
unsigned memb_no)
const;
62 H5std_string getMemberName(
unsigned member_num)
const;
66 DataType getMemberDataType(
unsigned member_num)
const;
70 ArrayType getMemberArrayType(
unsigned member_num)
const;
74 CompType getMemberCompType(
unsigned member_num)
const;
78 EnumType getMemberEnumType(
unsigned member_num)
const;
82 IntType getMemberIntType(
unsigned member_num)
const;
86 FloatType getMemberFloatType(
unsigned member_num)
const;
90 StrType getMemberStrType(
unsigned member_num)
const;
94 VarLenType getMemberVarLenType(
unsigned member_num)
const;
97 int getNmembers()
const;
100 void insertMember(
const H5std_string &name,
size_t offset,
const DataType &new_member)
const;
106 void setSize(
size_t size)
const;
121 hid_t p_get_member_type(
unsigned member_num)
const;
126 #endif // H5CompType_H
CompType getMemberCompType(unsigned member_num) const
Returns the compound datatype of the specified member in this compound datatype.
Definition: H5CompType.cpp:338
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
virtual DataType * decode() const
Returns a CompType object via DataType* by decoding the binary object description of this datatype.
Definition: H5CompType.cpp:143
void insertMember(const H5std_string &name, size_t offset, const DataType &new_member) const
Inserts a new member to this compound datatype.
Definition: H5CompType.cpp:503
FloatType is a derivative of a DataType and operates on HDF5 floating point datatype.
Definition: H5FloatType.h:24
void pack() const
Recursively removes padding from within a compound datatype.
Definition: H5CompType.cpp:526
Class DataSet operates on HDF5 datasets.
Definition: H5DataSet.h:27
size_t getMemberOffset(unsigned memb_no) const
Returns the byte offset of the beginning of a member with respect to the beginning of the compound da...
Definition: H5CompType.cpp:240
virtual ~CompType()
Properly terminates access to this compound datatype.
Definition: H5CompType.cpp:559
Definition: H5Exception.h:109
void setSize(size_t size) const
Sets the total size for this compound datatype.
Definition: H5CompType.cpp:545
FloatType getMemberFloatType(unsigned member_num) const
Returns the floating-point datatype of the specified member in this compound datatype.
Definition: H5CompType.cpp:404
Class ArrayType inherits from DataType and provides wrappers for the HDF5's Array Datatypes.
Definition: H5ArrayType.h:24
virtual hid_t getId() const
Get the id of this dataset.
Definition: H5DataSet.cpp:693
H5std_string getDetailMsg() const
Returns the detailed message set at the time the exception is thrown.
Definition: H5Exception.cpp:264
StrType is a derivative of a DataType and operates on HDF5 string datatype.
Definition: H5StrType.h:24
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5CompType.h:110
H5std_string getMemberName(unsigned member_num) const
Returns the name of a member in this compound datatype.
Definition: H5CompType.cpp:184
IntType getMemberIntType(unsigned member_num) const
Returns the integer datatype of the specified member in this compound datatype.
Definition: H5CompType.cpp:382
int getMemberIndex(const char *name) const
Returns the index of a member in this compound datatype.
Definition: H5CompType.cpp:210
EnumType getMemberEnumType(unsigned member_num) const
Returns the enumeration datatype of the specified member in this compound datatype.
Definition: H5CompType.cpp:360
int getNmembers() const
Returns the number of members in this compound datatype.
Definition: H5CompType.cpp:165
VarLenType getMemberVarLenType(unsigned member_num) const
Returns the variable length datatype of the specified member in this compound datatype.
Definition: H5CompType.cpp:448
VarLenType is a derivative of a DataType and operates on HDF5 Variable-length Datatypes.
Definition: H5VarLenType.h:24
StrType getMemberStrType(unsigned member_num) const
Returns the string datatype of the specified member in this compound datatype.
Definition: H5CompType.cpp:426
friend void f_DataType_setId(DataType *dtype, hid_t new_id)
CompType is a derivative of a DataType and operates on HDF5 compound datatypes.
Definition: H5CompType.h:24
EnumType is a derivative of a DataType and operates on HDF5 enum datatypes.
Definition: H5EnumType.h:24
H5T_class_t getMemberClass(unsigned member_num) const
Gets the type class of the specified member.
Definition: H5CompType.cpp:257
Definition: H5AbstractDs.cpp:33
CompType()
Default constructor: Creates a stub compound datatype.
Definition: H5CompType.cpp:39
ArrayType getMemberArrayType(unsigned member_num) const
Returns the array datatype of the specified member in this compound datatype.
Definition: H5CompType.cpp:316
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:27
H5Location is an abstract base class, added in version 1.8.12.
Definition: H5Location.h:30
DataType getMemberDataType(unsigned member_num) const
Returns the generic datatype of the specified member in this compound datatype.
Definition: H5CompType.cpp:294
Definition: H5Exception.h:130
The HDF Group Help Desk:
| |
Copyright by
The HDF Group
|