radarlib 1.4.6
|
Generic OdimH5 v2.1 object. More...
#include <radarlib/odimh5v21_classes.hpp>
Public Member Functions | |
virtual std::string | getConventions () |
Get OdimH5 conventions attribute value. | |
virtual void | setConventions () |
Set OdimH5 conventions attribute value to the value required by OdimH5 specification. | |
virtual H5::H5File * | getFile () |
Get the associated HDF5 file object. | |
virtual H5::Group * | getH5Object () |
Get the HDF5 group associated to this object. | |
virtual bool | existWhat () |
Test is the WHAT attributes group exist. | |
virtual bool | existWhere () |
Test is the WHERE attributes group exist. | |
virtual bool | existHow () |
Test is the HOW attributes group exist. | |
virtual MetadataGroup * | getWhat () |
Get the WHAT attributes group. | |
virtual MetadataGroup * | getWhere () |
Get the WHERE attributes group. | |
virtual MetadataGroup * | getHow () |
Get the HOW attributes group. | |
virtual std::string | getObject () |
Get the value of 'object' attribute. | |
virtual void | setObject (const std::string &val) |
Set the value of 'object' attribute. | |
virtual std::string | getVersion () |
Get the value of 'version' attribute. | |
virtual void | setVersion (const std::string &val) |
Set the value of 'version' attribute. | |
virtual time_t | getDateTime () |
Get the joined value of 'date' and 'time' attributes. | |
virtual void | setDateTime (const time_t val) |
Set the value of 'date' and 'time' attributes. | |
virtual SourceInfo | getSource () |
Get the value of 'source' attribute. | |
virtual void | setSource (const SourceInfo &val) |
Set the value of 'source' attribute. | |
virtual int | getDatasetCount () |
Get the number of datasets in the file. | |
virtual OdimDataset * | createDataset () |
Create a new dataset. | |
virtual OdimDataset * | getDataset (int index) |
Get a dataset | |
virtual void | removeDataset (int index) |
Delete a odim dataset group from the odim object. | |
Generic OdimH5 v2.1 object.
All OdimH5 objects have the same general structure.
This class allows users to manipulate OdimH5 objects in the most generic way.
This means that users can manipulate only Odim datasets and common mandatory attributes.
Only mandatory informations common to every OdimH5 objects are automatic written or checked by the internal implementatino.
Users are responsible for manipulating informations following OdimH5 specifications.
|
virtual |
Get OdimH5 conventions attribute value.
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Set OdimH5 conventions attribute value to the value required by OdimH5 specification.
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Get the associated HDF5 file object.
Get the associated HDF5 file object
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Get the HDF5 group associated to this object.
Get the HDF5 group associated to this object
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Test is the WHAT attributes group exist.
Check if the WHAT attributes group of this object exist.
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Test is the WHERE attributes group exist.
Check if the WHERE attributes group of this object exist.
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Test is the HOW attributes group exist.
Check if the HOW attributes group of this object exist.
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Get the WHAT attributes group.
Get the WHAT attributes group of this object. If it does not exist it will be created
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Get the WHERE attributes group.
Get the WHERE attributes group of this object. If it does not exist it will be created
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Get the HOW attributes group.
Get the HOW attributes group of this object. If it does not exist it will be created
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Get the value of 'object' attribute.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtual |
Set the value of 'object' attribute.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtual |
Get the value of 'version' attribute.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtual |
Set the value of 'version' attribute.
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtual |
Get the joined value of 'date' and 'time' attributes.
Get the joined value of 'date' and 'time' attributes in a single time_t value
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtual |
Set the value of 'date' and 'time' attributes.
Set the value of 'date' and 'time' attributes using the given time_t value
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtual |
Get the value of 'source' attribute.
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtual |
Set the value of 'source' attribute.
Set the value of 'source' attribute according to OdimH5 format, using the values stored in a SourceInfo object
val | the value to write |
OdimH5Exception | if an unexpected error occurs |
Implements OdimH5v21::WHATRootMetadata.
|
virtual |
Get the number of datasets in the file.
Get the number of datasets in the odim object
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Create a new dataset.
Create a new dataset in the odim object
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Get a dataset
Get the existing dataset with the given index
index | the dataset index from 0 to n-1 |
OdimH5Exception | if an unexpected error occurs |
|
virtual |
Delete a odim dataset group from the odim object.
Delete the odim dataset with the given index. Nothing is done if the dataset does not exist
index | the dataset index from 0 to n-1 |
OdimH5Exception | if an unexpected error occurs |