|
GammaLib 2.2.0.dev
|
HDF5 file handling class definition. More...
#include <cstdio>#include <stdint.h>#include "GBase.hpp"#include "GXml.hpp"#include "GFilename.hpp"Go to the source code of this file.
Classes | |
| class | GHdf5 |
| COSI instrument response function class. More... | |
Namespaces | |
| namespace | gammalib |
| namespace | gammalib::hdf5 |
Functions | |
| std::string | gammalib::hdf5::fread_data (FILE *fptr, const int &nbytes) |
| Read data from HDF5 file. | |
| std::string | gammalib::hdf5::fread_data (FILE *fptr, const GXmlElement *dataspace, const GXmlElement *datatype, const GXmlElement *datalayout, const GXmlElement *datafilter=NULL) |
| Read data. | |
| std::string | gammalib::hdf5::fread_data_chunk (FILE *fptr, const GXmlElement *chunk, const GXmlElement *dataspace, const GXmlElement *datatype, const GXmlElement *datalayout, const GXmlElement *datafilter=NULL) |
| Read data chunk. | |
| int | gammalib::hdf5::fread_int (FILE *fptr, const int &nbytes) |
| Read data as integer from HDF5 file. | |
| uint32_t | gammalib::hdf5::fread_uint32 (FILE *fptr, const int &nbytes) |
| Read data as unsiged 32 Bit integer from HDF5 file. | |
| uint64_t | gammalib::hdf5::fread_uint64 (FILE *fptr, const int &nbytes) |
| Read data as unsiged 64 Bit integer from HDF5 file. | |
| std::string | gammalib::hdf5::fread_string (FILE *fptr, const int &nbytes) |
| Read string data from HDF5 file. | |
| std::string | gammalib::hdf5::fread_data_as_string (FILE *fptr, const GXmlElement *datatype) |
| Read data with any data type as a string. | |
| void | gammalib::hdf5::fread_zero (FILE *fptr, const int &nbytes) |
| Read zero data from HDF5 file. | |
| int | gammalib::hdf5::data_to_int (const char *data, const GXmlElement *datatype) |
| Convert data into integer value. | |
| double | gammalib::hdf5::data_to_double (const char *data, const GXmlElement *datatype) |
| Convert data into double precision floating point value. | |
| std::string | gammalib::hdf5::data_to_string (const char *data, const GXmlElement *datatype) |
| Convert data into string. | |
| std::string | gammalib::hdf5::data_filter (const std::string &data, const GXmlElement *datafilter) |
| Filter data. | |
| std::string | gammalib::hdf5::data_filter_bitshuffle (const std::string &data, const GXmlElement *filter) |
| Filter data according to Bitshuffle algorithm. | |
| const GXmlElement * | gammalib::hdf5::xml_msg_type (const GXmlElement *header, const std::string &type, const int &number=0) |
| Return specific occurence of header message of given type. | |
| bool | gammalib::hdf5::xml_has_msg_type (const GXmlElement *header, const std::string &type, const int &number=0) |
| Checks if specific occurence of header message of given type exists. | |
| int | gammalib::hdf5::xml_msg_attributes (const GXmlElement *header, const std::string &name="") |
| Return number of "Attribute" messages in header. | |
| const GXmlElement * | gammalib::hdf5::xml_msg_attribute (const GXmlElement *header, const std::string &name, const int &number=0) |
| Return "Attribute" message XML element with specified name. | |
| bool | gammalib::hdf5::xml_has_msg_attribute (const GXmlElement *header, const std::string &name, const int &number=0) |
| Checks if "Attribute" message XML element with specified name exists. | |
| std::string | gammalib::hdf5::xml_msg_attribute (const GXmlElement *header, const std::string &name, const std::string &key) |
| Return "Attribute" message key value from attribute with specified name. | |
| const GXmlElement * | gammalib::hdf5::xml_msg_dataspace (const GXmlElement *header) |
| Return "Dataspace" message XML element. | |
| const GXmlElement * | gammalib::hdf5::xml_msg_datatype (const GXmlElement *header) |
| Return "Datatype" message XML element. | |
| const GXmlElement * | gammalib::hdf5::xml_msg_datalayout (const GXmlElement *header) |
| Return "DataStorageLayout" message XML element. | |
| const GXmlElement * | gammalib::hdf5::xml_msg_datafilter (const GXmlElement *header) |
| Return "DataStorageFilterPipeline" message XML element. | |
| std::string | gammalib::hdf5::classname (const int &cls) |
| Convert datatype class into classname. | |
HDF5 file handling class definition.
HDF5 file handling class implementation.
Definition in file GHdf5.hpp.