#include <Hdf5Group.h>

Public Member Functions | |
| virtual Hdf5Dataset * | addDataset (const std::string &name) |
| virtual Hdf5Group * | addGroup (const std::string &name) |
| virtual const std::vector < Hdf5Element * > & | getElements () const |
| virtual const Hdf5Element * | getElement (const std::string &name) const |
| virtual const Hdf5Element * | getElementByPath (const std::string &path) const |
| virtual size_t | getNumElements () const |
| virtual bool | removeElement (const Hdf5Element *pElement) |
Protected Member Functions | |
| Hdf5Group (Hdf5Node *pParent, const std::string &name) | |
| virtual | ~Hdf5Group () |
Definition at line 25 of file Hdf5Group.h.
| Hdf5Group::Hdf5Group | ( | Hdf5Node * | pParent, | |
| const std::string & | name | |||
| ) | [explicit, protected] |
Creates an empty HDF group.
| virtual Hdf5Group::~Hdf5Group | ( | ) | [protected, virtual] |
Destroys the HDF group.
| virtual Hdf5Dataset* Hdf5Group::addDataset | ( | const std::string & | name | ) | [virtual] |
Adds a dataset to the HDF group.
| name | The name of the dataset to add. |
| virtual Hdf5Group* Hdf5Group::addGroup | ( | const std::string & | name | ) | [virtual] |
| virtual const std::vector<Hdf5Element*>& Hdf5Group::getElements | ( | ) | const [virtual] |
Returns a vector of the group's elements.
| virtual const Hdf5Element* Hdf5Group::getElement | ( | const std::string & | name | ) | const [virtual] |
Non-recursively searches the group's element for a dataset matching the input name.
| name | The name of the Hdf5Element to search for. |
| virtual const Hdf5Element* Hdf5Group::getElementByPath | ( | const std::string & | path | ) | const [virtual] |
Locates the given element with the given path.
| path | The path to use to locate the element. The elements in the path should be separted with "/". A leading slash may be present and will be ignored. The element names cannot themselves contain a slash, this should be enforced by the HDF5 library. |
| virtual size_t Hdf5Group::getNumElements | ( | ) | const [virtual] |
Returns the number of Hdf5Elements in the group.
| virtual bool Hdf5Group::removeElement | ( | const Hdf5Element * | pElement | ) | [virtual] |
Removes an element from the group.
| pElement | A pointer to the dataset that will be removed. |