Public Member Functions | Static Public Attributes | Protected Member Functions

H5::PredType Class Reference

List of all members.

Public Member Functions

Static Public Attributes

Protected Member Functions


Constructor & Destructor Documentation

H5::PredType::PredType ( const PredType original  ) 

Copy constructor: makes a copy of the original PredType object.

Parameters:
original - IN: PredType instance to copy
H5::PredType::PredType ( const hid_t  predtype_id  )  [protected]

Creates a PredType object using the id of an existing predefined datatype.

Parameters:
predtype_id - IN: Id of a predefined datatype

Member Function Documentation

void H5::PredType::commit ( H5Object loc,
const char *  name 
)

Commits a transient datatype to a file, creating a new named datatype.

Parameters:
loc - IN: Either a group, dataset, named datatype, or attribute.
name - IN: Name of the datatype
Exceptions:
H5::DataTypeIException 

Reimplemented from H5::DataType.

void H5::PredType::commit ( H5File loc,
const char *  name 
)

Commits a transient datatype to a file, creating a new named datatype.

Parameters:
loc - IN: A file
name - IN: Name of the datatype
Exceptions:
H5::DataTypeIException 

Reimplemented from H5::DataType.

PredType & H5::PredType::operator= ( const PredType rhs  ) 

Assignment operator.

Parameters:
rhs - IN: Reference to the predefined datatype
Returns:
Reference to PredType instance
Exceptions:
H5::DataTypeIException 

References H5::DataType::copy().