chunks.cpp, compound.cpp, create.cpp, extend_ds.cpp, h5group.cpp, readdata.cpp, and writedata.cpp.
| H5::H5File::H5File | ( | const char * | name, | |
| unsigned int | flags, | |||
| const FileCreatPropList & |  create_plist = FileCreatPropList::DEFAULT,  | 
        |||
| const FileAccPropList & |  access_plist = FileAccPropList::DEFAULT | |||
| ) | 
Creates or opens an HDF5 file depending on the parameter flags.
| name | - IN: Name of the file | |
| flags | - IN: File access flags | |
| create_plist | - IN: File creation property list, used when modifying default file meta-data. Default to FileCreatPropList::DEFAULT | |
| access_plist | - IN: File access property list. Default to FileCreatPropList::DEFAULT | 
H5F_ACC_TRUNC - Truncate file, if it already exists, erasing all data previously stored in the file. H5F_ACC_EXCL - Fail if file already exists. H5F_ACC_TRUNC and H5F_ACC_EXCL are mutually exclusive H5F_ACC_DEBUG - print debug information. This flag is used only by HDF5 library developers; it is neither tested nor supported for use in applications. | H5::H5File::H5File | ( | const H5std_string & | name, | |
| unsigned int | flags, | |||
| const FileCreatPropList & |  create_plist = FileCreatPropList::DEFAULT,  | 
        |||
| const FileAccPropList & |  access_plist = FileAccPropList::DEFAULT | |||
| ) | 
This is another overloaded constructor. It differs from the above constructor only in the type of the name argument.
| name | - IN: Name of the file - H5std_string  | |
| flags | - IN: File access flags | |
| create_plist | - IN: File creation property list, used when modifying default file meta-data. Default to FileCreatPropList::DEFAULT | |
| access_plist | - IN: File access property list. Default to FileCreatPropList::DEFAULT | 
| H5::H5File::H5File | ( | const H5File & | original | ) | 
Copy constructor: makes a copy of the original H5File object.
| original | - IN: H5File instance to copy | 
References H5::IdComponent::incRefCount().
| void H5::H5File::close | ( | ) |  [virtual] | 
        
Closes this HDF5 file.
| H5::FileIException | 
Implements H5::IdComponent.
References H5::IdComponent::getCounter().
| void H5::H5File::flush | ( | H5F_scope_t | scope | ) | const | 
Flushes all buffers associated with a file to disk.
| scope | - IN: Specifies the scope of the flushing action, which can be either of these values: 
  | 
| H5::FileIException | 
| FileAccPropList H5::H5File::getAccessPlist | ( | ) | const | 
Returns the access property list of this file.
| H5::FileIException | 
| FileCreatPropList H5::H5File::getCreatePlist | ( | ) | const | 
Returns the creation property list of this file.
| H5::FileIException | 
| H5std_string H5::H5File::getFileName | ( | ) | const | 
Gets the name of this file.
| H5::FileIException | 
References H5::Exception::getDetailMsg().
| hsize_t H5::H5File::getFileSize | ( | ) | const | 
Returns the file size of the HDF5 file.
| H5::FileIException | 
| hssize_t H5::H5File::getFreeSpace | ( | ) | const | 
Returns the amount of free space in the file.
| H5::FileIException | 
| ssize_t H5::H5File::getObjCount | ( | ) | const | 
This is an overloaded member function, provided for convenience. It takes no parameter and returns the object count of all object types.
| H5::FileIException | 
| ssize_t H5::H5File::getObjCount | ( | unsigned | types | ) | const | 
Returns the number of opened object IDs (files, datasets, groups and datatypes) in the same file.
| types | - Type of object to retrieve the count | 
| H5::FileIException | 
H5F_OBJ_FILE - Files only H5F_OBJ_DATASET - Datasets only H5F_OBJ_GROUP - Groups only H5F_OBJ_DATATYPE - Named datatypes only H5F_OBJ_ATTR - Attributes only H5F_OBJ_ALL - All of the above, i.e., H5F_OBJ_FILE | H5F_OBJ_DATASET | H5F_OBJ_GROUP | H5F_OBJ_DATATYPE | H5F_OBJ_ATTR | void H5::H5File::getObjIDs | ( | unsigned | types, | |
| size_t | max_objs, | |||
| hid_t * | oid_list | |||
| ) | const | 
Retrieves a list of opened object IDs (files, datasets, groups and datatypes) in the same file.
| types | - Type of object to retrieve the count | |
| max_objs | - Maximum number of object identifiers to place into obj_id_list. | |
| oid_list | - List of open object identifiers | 
| H5::FileIException | 
H5F_OBJ_FILE - Files only H5F_OBJ_DATASET - Datasets only H5F_OBJ_GROUP - Groups only H5F_OBJ_DATATYPE - Named datatypes only H5F_OBJ_ATTR - Attributes only H5F_OBJ_ALL - All of the above, i.e., H5F_OBJ_FILE | H5F_OBJ_DATASET | H5F_OBJ_GROUP | H5F_OBJ_DATATYPE | H5F_OBJ_ATTR | H5G_obj_t H5::H5File::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, valid values are: 
  | 
| H5::FileIException | 
References H5::Exception::getDetailMsg().
| DataSpace H5::H5File::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::FileIException | 
References H5::Exception::getDetailMsg().
| void H5::H5File::getVFDHandle | ( | void ** | file_handle | ) | const | 
This is an overloaded member function, provided for convenience. It differs from the above function only in what arguments it accepts.
| file_handle | - Pointer to the file handle being used by the low-level virtual file driver | 
| H5::FileIException | 
| void H5::H5File::getVFDHandle | ( | FileAccPropList & | fapl, | |
| void ** | file_handle | |||
| ) | const | 
Returns the pointer to the file handle of the low-level file driver.
| fapl | - File access property list | |
| file_handle | - Pointer to the file handle being used by the low-level virtual file driver | 
| H5::FileIException | 
FAMILY or MULTI drivers, fapl should be defined through the property list functions: FileAccPropList::setFamilyOffset for the FAMILY driver and FileAccPropList::setMultiType for the MULTI driver.The obtained file handle is dynamic and is valid only while the file remains open; it will be invalid if the file is closed and reopened or opened during a subsequent session.
| bool H5::H5File::isHdf5 | ( | const H5std_string & | name | ) |  [static] | 
        
This is an overloaded member function, provided for convenience. It takes an H5std_string for name. 
| name | - IN: Name of the file - H5std_string  | 
References isHdf5().
| bool H5::H5File::isHdf5 | ( | const char * | name | ) |  [static] | 
        
Determines whether a file in HDF5 format.
| name | - IN: Name of the file | 
| H5::FileIException | 
Referenced by isHdf5().
| void H5::H5File::openFile | ( | const char * | name, | |
| unsigned int | flags, | |||
| const FileAccPropList & |  access_plist = FileAccPropList::DEFAULT | |||
| ) | 
Opens an HDF5 file.
| name | - IN: Name of the file | |
| flags | - IN: File access flags | |
| access_plist | - IN: File access property list. Default to FileCreatPropList::DEFAULT | 
H5F_ACC_RDONLY: Open with read only access. - default
| void H5::H5File::openFile | ( | const H5std_string & | name, | |
| unsigned int | flags, | |||
| const FileAccPropList & |  access_plist = FileAccPropList::DEFAULT | |||
| ) | 
This is an overloaded member function, provided for convenience. It takes an H5std_string for name. 
| name | - IN: Name of the file - H5std_string  | |
| flags | - IN: File access flags | |
| access_plist | - IN: File access property list. Default to FileAccPropList::DEFAULT | 
| void H5::H5File::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::H5File::reference | ( | void * | ref, | |
| const H5std_string & | name | |||
| ) | const | 
This is an overloaded function, provided for your convenience. It differs from the above function in that it takes an H5std_string for the object's name. 
| ref | - IN: Reference pointer | |
| name | - IN: Name of the object to be referenced - H5std_string  | 
References reference().
| void H5::H5File::reference | ( | void * | ref, | |
| const char * | name | |||
| ) | const | 
This is an overloaded function, provided for your convenience. It differs from the above function in that it only creates a reference to an HDF5 object, not to a dataset region.
| ref | - IN: Reference pointer | |
| name | - IN: Name of the object to be referenced - char pointer  | 
| H5::IdComponentException | 
References H5::Exception::getDetailMsg().
| void H5::H5File::reference | ( | void * | ref, | |
| const char * | name, | |||
| const DataSpace & | dataspace, | |||
| H5R_type_t |  ref_type = H5R_DATASET_REGION | |||
| ) | const | 
Creates a reference to an HDF5 object or a dataset region.
| ref | - IN: Reference pointer | |
| name | - IN: Name of the object to be referenced | |
| dataspace | - IN: Dataspace with selection | |
| ref_type | - IN: Type of reference to query, valid values are: 
  | 
| H5::IdComponentException | 
References H5::Exception::getDetailMsg().
Referenced by reference().
| void H5::H5File::reopen | ( | ) | 
Reopens this file.
| H5::FileIException | 
reOpen in future releases. References reOpen().
| void H5::H5File::reOpen | ( | ) | 
Reopens this file.
| H5::FileIException | 
References close(), and H5::Exception::getDetailMsg().
Referenced by reopen().
| void H5::H5File::throwException | ( | const H5std_string & | func_name, | |
| const H5std_string & | msg | |||
| ) |  const [virtual] | 
        
Throws file exception - initially implemented for CommonFG.
| func_name | - Name of the function where failure occurs | |
| msg | - Message describing the failure | 
| H5::FileIException | 
Implements H5::CommonFG.
 1.6.2