17 #ifndef __H5CompType_H
18 #define __H5CompType_H
46 H5T_class_t getMemberClass(
unsigned member_num )
const;
49 int getMemberIndex(
const char* name)
const;
50 int getMemberIndex(
const H5std_string& name)
const;
53 size_t getMemberOffset(
unsigned memb_no )
const;
56 H5std_string getMemberName(
unsigned member_num )
const;
60 DataType getMemberDataType(
unsigned member_num )
const;
64 ArrayType getMemberArrayType(
unsigned member_num )
const;
68 CompType getMemberCompType(
unsigned member_num )
const;
72 EnumType getMemberEnumType(
unsigned member_num )
const;
76 IntType getMemberIntType(
unsigned member_num )
const;
80 FloatType getMemberFloatType(
unsigned member_num )
const;
84 StrType getMemberStrType(
unsigned member_num )
const;
88 VarLenType getMemberVarLenType(
unsigned member_num )
const;
91 int getNmembers()
const;
94 void insertMember(
const H5std_string& name,
size_t offset,
const DataType& new_member )
const;
100 void setSize(
size_t size)
const;
103 virtual H5std_string
fromClass ()
const {
return(
"CompType"); }
111 hid_t p_get_member_type(
unsigned member_num)
const;
114 #endif // __H5CompType_H
Class EnumType operates on HDF5 enum datatypes.
Definition: H5EnumType.h:23
Class IntType operates on HDF5 integer datatype.
Definition: H5IntType.h:23
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:32
VarLenType operates on the HDF5 C's Variable-length Datatypes.
Definition: H5VarLenType.h:26
Class DataSet operates on HDF5 datasets.
Definition: H5DataSet.h:29
Class ArrayType inherits from DataType and provides wrappers for the HDF5's Array Datatypes...
Definition: H5ArrayType.h:26
Class FloatType operates on HDF5 floating point datatype.
Definition: H5FloatType.h:23
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5CompType.h:103
Class StrType operates on HDF5 string datatypes.
Definition: H5StrType.h:23
CompType is a derivative of a DataType and operates on HDF5 compound datatypes.
Definition: H5CompType.h:26