areaDetector  3-14
EPICS areaDetector framework
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, AttributeMapAttributes_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

◆ MapAttributes_t

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

Constructor & Destructor Documentation

◆ Element() [1/3]

hdf5::Element::Element ( )

◆ Element() [2/3]

hdf5::Element::Element ( const Element src)

◆ Element() [3/3]

hdf5::Element::Element ( const std::string &  name)

◆ ~Element()

hdf5::Element::~Element ( )
inline

Member Function Documentation

◆ _copy()

void hdf5::Element::_copy ( const Element src)
protected

◆ add_attribute()

int hdf5::Element::add_attribute ( Attribute attr)

◆ get_attributes()

Element::MapAttributes_t & hdf5::Element::get_attributes ( )

◆ get_full_name()

std::string hdf5::Element::get_full_name ( )
virtual

Reimplemented in hdf5::Root.

◆ get_name()

const std::string & hdf5::Element::get_name ( )

◆ get_parent()

Element * hdf5::Element::get_parent ( )

◆ get_path()

std::string hdf5::Element::get_path ( bool  trailing_slash = false)
virtual

Reimplemented in hdf5::Root.

◆ has_attribute()

bool hdf5::Element::has_attribute ( const std::string &  attr_name)

◆ operator=()

Element & hdf5::Element::operator= ( const Element src)

◆ tree_level()

int hdf5::Element::tree_level ( )

Friends And Related Function Documentation

◆ Group

friend class Group
friend

Member Data Documentation

◆ attributes

MapAttributes_t hdf5::Element::attributes
protected

◆ name

std::string hdf5::Element::name
protected

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