17 #ifndef __H5CompType_H
18 #define __H5CompType_H
20 #ifndef H5_NO_NAMESPACE
48 H5T_class_t getMemberClass(
unsigned member_num )
const;
51 int getMemberIndex(
const char* name)
const;
52 int getMemberIndex(
const H5std_string& name)
const;
55 size_t getMemberOffset(
unsigned memb_no )
const;
58 H5std_string getMemberName(
unsigned member_num )
const;
62 DataType getMemberDataType(
unsigned member_num )
const;
66 ArrayType getMemberArrayType(
unsigned member_num )
const;
70 CompType getMemberCompType(
unsigned member_num )
const;
74 EnumType getMemberEnumType(
unsigned member_num )
const;
78 IntType getMemberIntType(
unsigned member_num )
const;
82 FloatType getMemberFloatType(
unsigned member_num )
const;
86 StrType getMemberStrType(
unsigned member_num )
const;
90 VarLenType getMemberVarLenType(
unsigned member_num )
const;
93 int getNmembers()
const;
96 void insertMember(
const H5std_string& name,
size_t offset,
const DataType& new_member )
const;
102 void setSize(
size_t size)
const;
105 virtual H5std_string
fromClass ()
const {
return(
"CompType"); }
113 hid_t p_get_member_type(
unsigned member_num)
const;
115 #ifndef H5_NO_NAMESPACE
118 #endif // __H5CompType_H
Definition: H5AbstractDs.cpp:31
Class EnumType operates on HDF5 enum datatypes.
Definition: H5EnumType.h:25
Class IntType operates on HDF5 integer datatype.
Definition: H5IntType.h:25
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:34
VarLenType operates on the HDF5 C's Variable-length Datatypes.
Definition: H5VarLenType.h:28
Class DataSet operates on HDF5 datasets.
Definition: H5DataSet.h:31
Class ArrayType inherits from DataType and provides wrappers for the HDF5's Array Datatypes...
Definition: H5ArrayType.h:28
Class FloatType operates on HDF5 floating point datatype.
Definition: H5FloatType.h:25
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5CompType.h:105
Class StrType operates on HDF5 string datatypes.
Definition: H5StrType.h:25
CompType is a derivative of a DataType and operates on HDF5 compound datatypes.
Definition: H5CompType.h:28