H5::Group::Group | ( | H5Object & | obj, | |
const void * | ref, | |||
H5R_type_t | ref_type = H5R_OBJECT | |||
) |
Given a reference, ref, to an hdf5 group, creates a Group object.
obj | - IN: Specifying location referenced object is in | |
ref | - IN: Reference pointer | |
ref_type | - IN: Reference type - default to H5R_OBJECT |
H5::ReferenceException |
obj
can be DataSet, Group, or named DataType, that is a datatype that has been named by DataType::commit. References H5::Exception::getDetailMsg().
H5::Group::Group | ( | H5File & | h5file, | |
const void * | ref, | |||
H5R_type_t | ref_type = H5R_OBJECT | |||
) |
Given a reference, ref, to an hdf5 group, creates a Group object.
h5file | - IN: Location referenced object is in | |
ref | - IN: Reference pointer | |
ref_type | - IN: Reference type - default to H5R_OBJECT |
H5::ReferenceException |
References H5::Exception::getDetailMsg().
H5::Group::Group | ( | Attribute & | attr, | |
const void * | ref, | |||
H5R_type_t | ref_type = H5R_OBJECT | |||
) |
Given a reference, ref, to an hdf5 group, creates a Group object.
attr | - IN: Specifying location where the referenced object is in | |
ref | - IN: Reference pointer | |
ref_type | - IN: Reference type - default to H5R_OBJECT |
H5::ReferenceException |
References H5::Exception::getDetailMsg().
H5::Group::Group | ( | const Group & | original | ) |
Copy constructor: makes a copy of the original Group object.
original | - IN: Original group to copy |
References H5::IdComponent::incRefCount().
H5::Group::Group | ( | const hid_t | existing_id | ) |
Creates a Group object using the id of an existing group.
existing_id | - IN: Id of an existing group |
void H5::Group::close | ( | ) | [virtual] |
Closes this group.
H5::GroupIException |
Implements H5::IdComponent.
References H5::IdComponent::getCounter().
hid_t H5::Group::getLocId | ( | ) | const [virtual] |
H5G_obj_t H5::Group::getObjType | ( | void * | ref, | |
H5R_type_t | ref_type = H5R_OBJECT | |||
) | const |
Retrieves the type of object that an object reference points to.
ref | - IN: Reference to query | |
ref_type | - IN: Type of reference to query, valid values are:
|
H5::GroupIException |
References H5::Exception::getDetailMsg().
DataSpace H5::Group::getRegion | ( | void * | ref, | |
H5R_type_t | ref_type = H5R_DATASET_REGION | |||
) | const |
Retrieves a dataspace with the region pointed to selected.
ref | - IN: Reference to get region of | |
ref_type | - IN: Type of reference to get region of - default |
H5::GroupIException |
References H5::Exception::getDetailMsg().
void H5::Group::p_setId | ( | const hid_t | new_id | ) | [protected, virtual] |
Sets the identifier of this object to a new value.
H5::IdComponentException | when the attempt to close the HDF5 object fails |
Implements H5::IdComponent.
References close(), and H5::Exception::getDetailMsg().
void H5::Group::throwException | ( | const H5std_string & | func_name, | |
const H5std_string & | msg | |||
) | const [virtual] |
Throws H5::GroupIException.
func_name | - Name of the function where failure occurs | |
msg | - Message describing the failure |
H5::GroupIException |
Implements H5::CommonFG.