#include <Hdf4Group.h>

Public Member Functions | |
| virtual Hdf4Dataset * | addDataset (const std::string &name) |
| virtual Hdf4Group * | addGroup (const std::string &name) |
| virtual const std::vector < Hdf4Element * > & | getElements () const |
| virtual const Hdf4Element * | getElement (const std::string &name) const |
| virtual size_t | getNumElements () const |
| virtual bool | removeElement (const Hdf4Element *pElement) |
Protected Member Functions | |
| Hdf4Group (const std::string &name) | |
| virtual | ~Hdf4Group () |
Definition at line 22 of file Hdf4Group.h.
| Hdf4Group::Hdf4Group | ( | const std::string & | name | ) | [explicit, protected] |
Creates an empty HDF group.
| virtual Hdf4Group::~Hdf4Group | ( | ) | [protected, virtual] |
Destroys the HDF group.
| virtual Hdf4Dataset* Hdf4Group::addDataset | ( | const std::string & | name | ) | [virtual] |
Adds a dataset to the HDF group.
| name | The name of the dataset to add. |
| virtual Hdf4Group* Hdf4Group::addGroup | ( | const std::string & | name | ) | [virtual] |
| virtual const std::vector<Hdf4Element*>& Hdf4Group::getElements | ( | ) | const [virtual] |
Returns a vector of the group's elements.
| virtual const Hdf4Element* Hdf4Group::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 Hdf4Element to search for. |
| virtual size_t Hdf4Group::getNumElements | ( | ) | const [virtual] |
Returns the number of Hdf4Elements in the group.
| virtual bool Hdf4Group::removeElement | ( | const Hdf4Element * | pElement | ) | [virtual] |
Removes an element from the group.
| pElement | A pointer to the dataset that will be removed. |