quadEM  7-0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
hdf5::Element Class Reference

Describe a generic structure element with the NDFileHDF5 plugin. More...

#include <NDFileHDF5Layout.h>

Inheritance diagram for hdf5::Element:
hdf5::Dataset hdf5::Group hdf5::HardLink hdf5::Root

Public Types

typedef std::map< std::string,
Attribute
MapAttributes_t
 

Public Member Functions

 Element ()
 
 Element (const Element &src)
 
 Element (const std::string &name)
 
 ~Element ()
 
Elementoperator= (const Element &src)
 
const std::string & get_name ()
 
virtual std::string get_full_name ()
 
virtual std::string get_path (bool trailing_slash=false)
 
int add_attribute (Attribute &attr)
 
bool has_attribute (const std::string &attr_name)
 
int tree_level ()
 
Elementget_parent ()
 
MapAttributes_tget_attributes ()
 

Protected Member Functions

void _copy (const Element &src)
 

Protected Attributes

MapAttributes_t attributes
 
std::string name
 

Friends

class Group
 

Detailed Description

Describe a generic structure element with the NDFileHDF5 plugin.

An element can contain a number of attributes and be a subset of a number of parents.

Member Typedef Documentation

typedef std::map<std::string, Attribute> hdf5::Element::MapAttributes_t

Constructor & Destructor Documentation

hdf5::Element::Element ( )
hdf5::Element::Element ( const Element src)
hdf5::Element::Element ( const std::string &  name)
hdf5::Element::~Element ( )
inline

Member Function Documentation

void hdf5::Element::_copy ( const Element src)
protected
int hdf5::Element::add_attribute ( Attribute attr)
Element::MapAttributes_t & hdf5::Element::get_attributes ( )
std::string hdf5::Element::get_full_name ( )
virtual

Reimplemented in hdf5::Root.

const std::string & hdf5::Element::get_name ( )
Element * hdf5::Element::get_parent ( )
std::string hdf5::Element::get_path ( bool  trailing_slash = false)
virtual

Reimplemented in hdf5::Root.

bool hdf5::Element::has_attribute ( const std::string &  attr_name)
Element & hdf5::Element::operator= ( const Element src)
int hdf5::Element::tree_level ( )

Friends And Related Function Documentation

friend class Group
friend

Member Data Documentation

MapAttributes_t hdf5::Element::attributes
protected
std::string hdf5::Element::name
protected

The documentation for this class was generated from the following files: