Hdf5Node Class Reference

This class serves as a base class for the rest of the Hdf5File, Hdf5Group, etc. More...

#include <Hdf5Node.h>

Inheritance diagram for Hdf5Node:

Inheritance graph

List of all members.

Public Member Functions

virtual ~Hdf5Node ()
virtual Hdf5NodegetParent () const
virtual std::string getFullPathAndName () const
virtual Hdf5FilegetFile () const
virtual std::string getName () const

Protected Member Functions

 Hdf5Node (Hdf5Node *pParent, const std::string &name)

Protected Attributes

Hdf5NodempParent
std::string mFullPathAndName
std::string mName


Detailed Description

This class serves as a base class for the rest of the Hdf5File, Hdf5Group, etc.

classes. It provides basic properties and traversal capability that should be available to all of these classes.

Definition at line 22 of file Hdf5Node.h.


Constructor & Destructor Documentation

virtual Hdf5Node::~Hdf5Node (  )  [virtual]

Definition at line 25 of file Hdf5Node.h.

Hdf5Node::Hdf5Node ( Hdf5Node pParent,
const std::string &  name 
) [protected]


Member Function Documentation

virtual Hdf5Node* Hdf5Node::getParent (  )  const [virtual]

Returns the parent element.

The root Hdf5Group object will have a parent of Hdf5File. The Hdf5File will have a NULL parent.

Returns:
returns the parent element of this element or NULL if no parent can be found.

virtual std::string Hdf5Node::getFullPathAndName (  )  const [virtual]

Returns the full path to this node from the root group of the HDF5 file.

Returns:
Returns the full path to this node.

virtual Hdf5File* Hdf5Node::getFile (  )  const [virtual]

Returns a pointer to the Hdf5File object that this object belongs to.

Returns:
Returns a pointer to the owning Hdf5File object.

Reimplemented in Hdf5File.

virtual std::string Hdf5Node::getName (  )  const [virtual]

Gets the node name.

Returns:
Returns the name of the node.


Member Data Documentation

Definition at line 59 of file Hdf5Node.h.

std::string Hdf5Node::mFullPathAndName [protected]

Definition at line 60 of file Hdf5Node.h.

std::string Hdf5Node::mName [protected]

Definition at line 61 of file Hdf5Node.h.


Software Development Kit - Opticks 4.9.0 Build 16218