H5::ArrayType::ArrayType | ( | const DataType & | base_type, | |
int | ndims, | |||
const hsize_t * | dims | |||
) |
Creates a new array data type based on the specified base_type.
base_type | - IN: Existing datatype | |
ndims | - IN: Rank of the array, [0..H5S_MAX_RANK] | |
dims | - IN: Size of each array dimension |
H5::DataTypeIException |
H5::ArrayType::ArrayType | ( | const hid_t | existing_id | ) |
Creates an ArrayType object using an existing id.
existing_id | - IN: Id of an existing datatype |
H5::DataTypeIException |
int H5::ArrayType::getArrayDims | ( | hsize_t * | dims | ) |
Retrieves the size of all dimensions of an array datatype.
dims | - OUT: Sizes of dimensions |
H5::DataTypeIException |
int H5::ArrayType::getArrayNDims | ( | ) |
Returns the number of dimensions for an array datatype.
H5::DataTypeIException |