HDF5Group class.
More...
#include <radarlib/odimh5v20_hdf5.hpp>
|
| static int | getChildCount (H5::Group *parent, const char *prefix) |
| | Get the number of children group of a given HDF5 group.
|
| |
| static H5::Group * | getChild (H5::Group *parent, const char *name) |
| | Get the a child group of a given HDF5 group.
|
| |
| static void | ensureChild (H5::Group *parent, const char *name) |
| | Check or create a child group.
|
| |
| static H5::Group * | ensureGetChild (H5::Group *parent, const char *name) |
| | Get (and automatically create) a child group.
|
| |
| static void | removeChild (H5::Group *parent, const char *name) |
| | Delete a child group.
|
| |
| static bool | exists (H5::Group *parent, const char *name) |
| | Check for child group existance.
|
| |
| static H5::DataSet * | getDataset (H5::Group *parent, const char *name) |
| | Get a HDF5 dataset child of a given HDF5 group.
|
| |
| static void | copyAttributes (H5::Group *src, H5::Group *dst) |
| | Copy all attributes from a HDF5 group to another.
|
| |
| static void | copyAttributes (H5::Group *src, H5::Group *dst, const std::set< std::string > &names) |
| | Copy all specified attributes from a HDF5 group to another.
|
| |
HDF5Group class.
This is an internal class with methods to perform operations on HDF5 groups
◆ getChildCount()
| int OdimH5v20::HDF5Group::getChildCount |
( |
H5::Group * | parent, |
|
|
const char * | prefix ) |
|
static |
Get the number of children group of a given HDF5 group.
Get the number of children group of a given HDF5 group searching for elements with the same name prefix
- Parameters
-
| parent | the parent HDF5 object |
| prefix | the name prefix used to select children |
- Exceptions
-
◆ getChild()
| H5::Group * OdimH5v20::HDF5Group::getChild |
( |
H5::Group * | parent, |
|
|
const char * | name ) |
|
static |
Get the a child group of a given HDF5 group.
Get the child group of a given HDF5 group using a given name
- Parameters
-
| parent | the parent HDF5 object |
| name | the name of the child |
- Returns
- The child group or NULL if it does not exists
- Exceptions
-
◆ ensureChild()
| void OdimH5v20::HDF5Group::ensureChild |
( |
H5::Group * | parent, |
|
|
const char * | name ) |
|
static |
Check or create a child group.
Check or create a child group of a given group
- Parameters
-
| parent | the parent HDF5 object |
| name | the name of the child |
- Exceptions
-
◆ ensureGetChild()
| H5::Group * OdimH5v20::HDF5Group::ensureGetChild |
( |
H5::Group * | parent, |
|
|
const char * | name ) |
|
static |
Get (and automatically create) a child group.
Get (and automatically create) a child group of a given group with the given name
- Parameters
-
| parent | the parent HDF5 object |
| name | the name of the child |
- Returns
- the child group
- Exceptions
-
◆ removeChild()
| void OdimH5v20::HDF5Group::removeChild |
( |
H5::Group * | parent, |
|
|
const char * | name ) |
|
static |
Delete a child group.
Delete a child group
- Parameters
-
| parent | the parent HDF5 object |
| name | the name of the child |
- Exceptions
-
◆ exists()
| bool OdimH5v20::HDF5Group::exists |
( |
H5::Group * | parent, |
|
|
const char * | name ) |
|
static |
Check for child group existance.
Check for child group existance
- Parameters
-
| parent | the parent HDF5 object |
| name | the name of the child |
- Exceptions
-
◆ getDataset()
| H5::DataSet * OdimH5v20::HDF5Group::getDataset |
( |
H5::Group * | parent, |
|
|
const char * | name ) |
|
static |
Get a HDF5 dataset child of a given HDF5 group.
Get a HDF5 dataset child of a given HDF5 group
- Parameters
-
| parent | the parent HDF5 object |
| name | the name of the child |
- Exceptions
-
◆ copyAttributes() [1/2]
| void OdimH5v20::HDF5Group::copyAttributes |
( |
H5::Group * | src, |
|
|
H5::Group * | dst ) |
|
static |
Copy all attributes from a HDF5 group to another.
Copy all attributes from a HDF4 group to another
- Parameters
-
| src | the HDF5 group to copy from |
| dst | the HDF5 group to copy to |
- Exceptions
-
◆ copyAttributes() [2/2]
| void OdimH5v20::HDF5Group::copyAttributes |
( |
H5::Group * | src, |
|
|
H5::Group * | dst, |
|
|
const std::set< std::string > & | names ) |
|
static |
Copy all specified attributes from a HDF5 group to another.
Copy all attributes from a HDF4 group to another
- Parameters
-
| src | the HDF5 group to copy from |
| dst | the HDF5 group to copy to |
| names | the attributes to copy |
- Exceptions
-
The documentation for this class was generated from the following files: