OdimH5 objects factory.
More...
#include <radarlib/odimh5v21_factory.hpp>
OdimH5 objects factory.
OdimH5 objects should not be directly created with "new" operator.
OdimH5 objects should be created using the a factory.
This factory allow users to create generic OdimH5 object or PVOL objects (PolarVolume::) conformed to OdimH5 v2.1 specifications.
- See Also
- OdimObject | PolarVolume
OdimObject * OdimH5v21::OdimFactory::create |
( |
const std::string & |
path | ) |
|
|
virtual |
Create a new generic OdimH5 object and the associated file.
- Parameters
-
path | the file path where the object will be stored |
- Returns
- Returns the created OdimObject
- Exceptions
-
Create a generic OdimH5 object and the associated file.
If the file already exists, it will be recreated.
The file will be opened for input and output operations.
In oder to create a specific OdimH5 object use the other methods of the factory
- See Also
- OdimObject | createPolarVolume | createImageObject | createCompObject | createXsecObject
OdimObject * OdimH5v21::OdimFactory::open |
( |
const std::string & |
path | ) |
|
|
virtual |
Get a OdimH5 object from an existing file.
- Parameters
-
path | the file path where the object will is stored |
- Returns
- Returns the OdimObject stored in the file
- Exceptions
-
Get a OdimH5 object stored in an existing file.
The file will be opened for input and output operations.
If the OdimH5 object is an object supported by the factory, a specialized object will be created.
- See Also
- openPolarVolume
OdimObject * OdimH5v21::OdimFactory::open |
( |
const std::string & |
path, |
|
|
int |
h5flags |
|
) |
| |
|
virtual |
Get a OdimH5 object from an existing file.
- Parameters
-
path | the file path where the object will is stored |
h5flags | the HDF5 I/O flags used to open the file |
- Returns
- Returns the OdimObject stored in the file
- Exceptions
-
Get a OdimH5 object stored in an existing file
The file will be opened with the I/O options indicated
If the OdimH5 object is an object supported by the factory, a specialized object will be created.
- See Also
- openPolarVolume | openImageObject | openCompObject | openXsecObject
PolarVolume * OdimH5v21::OdimFactory::createPolarVolume |
( |
const std::string & |
path | ) |
|
|
virtual |
Create a new OdimH5 PVOL object and the associated file.
- Parameters
-
path | the file path where the object will be stored |
- Returns
- Returns the created PolarVolume object
- Exceptions
-
Create a OdimH5 PVOL object and the associated file.
If the file already exists, it will be recreated.
The file will be opened for input and output operations.
- See Also
- PolarVolume | openPolarVolume
ImageObject * OdimH5v21::OdimFactory::createImageObject |
( |
const std::string & |
path | ) |
|
|
virtual |
Create a new OdimH5 IMAGE object and the associated file.
- Parameters
-
path | the file path where the object will be stored |
- Returns
- Returns the created ImageObject object
- Exceptions
-
Create a OdimH5 IMAGE object and the associated file.
If the file already exists, it will be recreated.
The file will be opened for input and output operations.
- See Also
- ImageObject | openImageObject
CompObject * OdimH5v21::OdimFactory::createCompObject |
( |
const std::string & |
path | ) |
|
|
virtual |
Create a new OdimH5 COMP object and the associated file.
- Parameters
-
path | the file path where the object will be stored |
- Returns
- Returns the created CompObject object
- Exceptions
-
Create a OdimH5 COMP object and the associated file.
If the file already exists, it will be recreated.
The file will be opened for input and output operations.
- See Also
- CompObject | openCompObject
XsecObject * OdimH5v21::OdimFactory::createXsecObject |
( |
const std::string & |
path | ) |
|
|
virtual |
Create a new OdimH5 XSEC object and the associated file.
- Parameters
-
path | the file path where the object will be stored |
- Returns
- Returns the created XsecObject object
- Exceptions
-
Create a OdimH5 XSEC object and the associated file.
If the file already exists, it will be recreated.
The file will be opened for input and output operations.
- See Also
- XsecObject | openXsecObject
PolarVolume * OdimH5v21::OdimFactory::openPolarVolume |
( |
const std::string & |
path | ) |
|
|
virtual |
Get a OdimH5 PVOL object from an existing file.
- Parameters
-
path | the file path where the object is stored |
- Returns
- Returns the PolarVolume that represents the OdimH5 PVOL
- Exceptions
-
Get a OdimH5 PVOL object stored in an existing file
If the file does not contains a OdimH5 PVOL object an exception will occur
The file will be opened input and output operations
- See Also
- openPolarVolume
PolarVolume * OdimH5v21::OdimFactory::openPolarVolume |
( |
const std::string & |
path, |
|
|
int |
h5flags |
|
) |
| |
|
virtual |
Get a OdimH5 PVOL object from an existing file.
- Parameters
-
path | the file path where the object is stored |
h5flags | the HDF5 I/O flags used to open the file |
- Returns
- Returns the PolarVolume that represents the OdimH5 PVOL
- Exceptions
-
Get a OdimH5 PVOL object stored in an existing file
If the file does not contains a OdimH5 PVOL object an exception will occur
The file will be opened with the I/O options indicated
- See Also
- openPolarVolume
ImageObject * OdimH5v21::OdimFactory::openImageObject |
( |
const std::string & |
path | ) |
|
|
virtual |
Get a OdimH5 IMAGE object from an existing file.
- Parameters
-
path | the file path where the object is stored |
- Returns
- Returns the ImageObject that represents the OdimH5 IMAGE
- Exceptions
-
Get a OdimH5 ImageObject object stored in an existing file
If the file does not contains a OdimH5 IMAGE object an exception will occur
The file will be opened input and output operations
- See Also
- openImageObject
ImageObject * OdimH5v21::OdimFactory::openImageObject |
( |
const std::string & |
path, |
|
|
int |
h5flags |
|
) |
| |
|
virtual |
Get a OdimH5 IMAGE object from an existing file.
- Parameters
-
path | the file path where the object is stored |
h5flags | the HDF5 I/O flags used to open the file |
- Returns
- Returns the ImageObject that represents the OdimH5 IMAGE
- Exceptions
-
Get a OdimH5 ImageObject object stored in an existing file
If the file does not contains a OdimH5 IMAGE object an exception will occur
The file will be opened with the I/O options indicated
- See Also
- openImageObject
CompObject * OdimH5v21::OdimFactory::openCompObject |
( |
const std::string & |
path | ) |
|
|
virtual |
Get a OdimH5 COMP object from an existing file.
- Parameters
-
path | the file path where the object is stored |
- Returns
- Returns the CompObject that represents the OdimH5 COMP
- Exceptions
-
Get a OdimH5 CompObject object stored in an existing file
If the file does not contains a OdimH5 COMP object an exception will occur
The file will be opened input and output operations
- See Also
- openCompObject
CompObject * OdimH5v21::OdimFactory::openCompObject |
( |
const std::string & |
path, |
|
|
int |
h5flags |
|
) |
| |
|
virtual |
Get a OdimH5 COMP object from an existing file.
- Parameters
-
path | the file path where the object is stored |
h5flags | the HDF5 I/O flags used to open the file |
- Returns
- Returns the CompObject that represents the OdimH5 COMP
- Exceptions
-
Get a OdimH5 CompObject object stored in an existing file
If the file does not contains a OdimH5 COMP object an exception will occur
The file will be opened with the I/O options indicated
- See Also
- openCompObject
XsecObject * OdimH5v21::OdimFactory::openXsecObject |
( |
const std::string & |
path | ) |
|
|
virtual |
Get a OdimH5 XSEC object from an existing file.
- Parameters
-
path | the file path where the object is stored |
- Returns
- Returns the XsecObject that represents the OdimH5 XSEC
- Exceptions
-
Get a OdimH5 XsecObject object stored in an existing file
If the file does not contains a OdimH5 XSEC object an exception will occur
The file will be opened input and output operations
- See Also
- openXsecObject
XsecObject * OdimH5v21::OdimFactory::openXsecObject |
( |
const std::string & |
path, |
|
|
int |
h5flags |
|
) |
| |
|
virtual |
Get a OdimH5 XSEC object from an existing file.
- Parameters
-
path | the file path where the object is stored |
h5flags | the HDF5 I/O flags used to open the file |
- Returns
- Returns the XsecObject that represents the OdimH5 XSEC
- Exceptions
-
Get a OdimH5 XsecObject object stored in an existing file
If the file does not contains a OdimH5 XSEC object an exception will occur
The file will be opened with the I/O options indicated
- See Also
- openXsecObject
Create a dumper for OdimH5 objects.
- Returns
- Returns an object that can create textual representation of OdimH5 objects
The dumper created can operate on on OdimH5 v2.1 objects
- See Also
- ObjectDumper
The documentation for this class was generated from the following files: