Public Member Functions

H5::IntType Class Reference

List of all members.

Public Member Functions


Detailed Description

Examples:

create.cpp, and readdata.cpp.


Constructor & Destructor Documentation

H5::IntType::IntType ( const PredType pred_type  ) 

Creates a integer type using a predefined type.

Parameters:
pred_type - IN: Predefined datatype
Exceptions:
H5::DataTypeIException 

References H5::DataType::copy().

H5::IntType::IntType ( const DataSet dataset  ) 

Gets the integer datatype of the specified dataset.

Parameters:
dataset - IN: Dataset that this integer datatype associates with
Exceptions:
H5::DataTypeIException 

References H5::DataSet::getId().

H5::IntType::IntType ( const hid_t  existing_id  ) 

Creates an integer datatype using the id of an existing datatype.

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

Member Function Documentation

H5T_sign_t H5::IntType::getSign (  )  const

Retrieves the sign type for an integer type.

Returns:
Valid sign type
Exceptions:
H5::DataTypeIException 
void H5::IntType::setSign ( H5T_sign_t  sign  )  const

Sets the sign property for an integer type.

Parameters:
sign - IN: Sign type
Exceptions:
H5::DataTypeIException