Public Member Functions | Protected Member Functions

H5::ArrayType Class Reference

List of all members.

Public Member Functions

Protected Member Functions


Constructor & Destructor Documentation

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.

Parameters:
base_type - IN: Existing datatype
ndims - IN: Rank of the array, [0..H5S_MAX_RANK]
dims - IN: Size of each array dimension
Exceptions:
H5::DataTypeIException 
H5::ArrayType::ArrayType ( const hid_t  existing_id  ) 

Creates an ArrayType object using an existing id.

Parameters:
existing_id - IN: Id of an existing datatype
Exceptions:
H5::DataTypeIException 

Member Function Documentation

int H5::ArrayType::getArrayDims ( hsize_t *  dims  ) 

Retrieves the size of all dimensions of an array datatype.

Parameters:
dims - OUT: Sizes of dimensions
Returns:
Number of dimensions
Exceptions:
H5::DataTypeIException 
int H5::ArrayType::getArrayNDims (  ) 

Returns the number of dimensions for an array datatype.

Returns:
Number of dimensions
Exceptions:
H5::DataTypeIException