RMF
RMF::HDF5::Group Class Reference

#include <RMF/HDF5/Group.h>

Inheritance diagram for RMF::HDF5::Group:

Public Member Functions

 Group (Group parent, std::string name)
template<class TypeTraits, unsigned int D>
DataSetD< TypeTraits, D > add_child_data_set (std::string name)
template<class TypeTraits, unsigned int D>
DataSetD< TypeTraits, D > add_child_data_set (std::string name, DataSetCreationPropertiesD< TypeTraits, D > props)
Group add_child_group (std::string name)
template<class TypeTraits, unsigned int D>
DataSetD< TypeTraits, D > get_child_data_set (std::string name) const
template<class TypeTraits, unsigned int D>
DataSetD< TypeTraits, D > get_child_data_set (std::string name, DataSetAccessPropertiesD< TypeTraits, D > props) const
Group get_child_group (std::string name) const
Group get_child_group (unsigned int i) const
void set_attribute (std::string name, typename TypeTraits::Types value)
void set_int_attribute (std::string nm, const Ints &value)
void set_float_attribute (std::string nm, const Floats &value)
void set_index_attribute (std::string nm, const Ints &value)
void set_char_attribute (std::string nm, std::string value)
Public Member Functions inherited from RMF::HDF5::ConstGroup
 ConstGroup (ConstGroup parent, std::string name)
template<class TypeTraits, unsigned int D>
ConstDataSetD< TypeTraits, D > get_child_data_set (std::string name) const
template<class TypeTraits, unsigned int D>
ConstDataSetD< TypeTraits, D > get_child_data_set (std::string name, DataSetAccessPropertiesD< TypeTraits, D > props) const
ConstGroup get_child_group (std::string name) const
ConstGroup get_child_group (unsigned int i) const
bool get_child_is_data_set (unsigned int i) const
bool get_child_is_group (std::string name) const
bool get_child_is_group (unsigned int i) const
std::string get_child_name (unsigned int i) const
bool get_has_child (std::string name) const
unsigned int get_number_of_children () const
ConstDataSetD< TypeTraits, 1 > get_child_type_data_set_1d (std::string name, DataSetAccessPropertiesD< TypeTraits, 1 > props) const
ConstDataSetD< TypeTraits, 1 > get_child_type_data_set_1d (std::string name) const
ConstDataSetD< TypeTraits, 2 > get_child_type_data_set_2d (std::string name, DataSetAccessPropertiesD< TypeTraits, 2 > props) const
ConstDataSetD< TypeTraits, 2 > get_child_type_data_set_2d (std::string name) const
ConstDataSetD< TypeTraits, 3 > get_child_type_data_set_3d (std::string name, DataSetAccessPropertiesD< TypeTraits, 3 > props) const
ConstDataSetD< TypeTraits, 3 > get_child_type_data_set_3d (std::string name) const
Public Member Functions inherited from RMF::HDF5::ConstAttributes< Object >
CT copy_to (const CF &cf) const
bool get_has_attribute (std::string nm) const
TypeTraits::Types get_attribute (std::string name) const
Ints get_int_attribute (std::string nm) const
Floats get_float_attribute (std::string nm) const
Ints get_index_attribute (std::string nm) const
std::string get_char_attribute (std::string nm) const
Public Member Functions inherited from RMF::HDF5::Object
File get_file () const
 Get an object for the file containing the object.
hid_t get_handle () const
std::string get_name () const

Protected Member Functions

 Group (std::shared_ptr< SharedHandle > h)
Protected Member Functions inherited from RMF::HDF5::MutableAttributes< ConstGroup >
 MutableAttributes (const A &h)
 MutableAttributes (const A &h, const B &i)
 MutableAttributes (const A &h, const B &i, const C &j)
 MutableAttributes (const A &h, const B &i, const C &j, const D &k)
Protected Member Functions inherited from RMF::HDF5::ConstGroup
 ConstGroup (std::shared_ptr< SharedHandle > h)
Protected Member Functions inherited from RMF::HDF5::ConstAttributes< Object >
 ConstAttributes (std::shared_ptr< SharedHandle > h)
Protected Member Functions inherited from RMF::HDF5::Object
 Object (std::shared_ptr< SharedHandle > h)
std::shared_ptr< SharedHandle > get_shared_handle () const
void open (std::shared_ptr< SharedHandle > h)

Untemplated methods

When using Python, you must call the non-templated methods listed below.

DataSetD< TypeTraits, 1 > get_child_type_data_set_1d (std::string name, DataSetAccessPropertiesD< TypeTraits, 1 > props) const
DataSetD< TypeTraits, 1 > add_child_type_data_set_1d (std::string name, DataSetCreationPropertiesD< TypeTraits, 1 > props)
DataSetD< TypeTraits, 1 > get_child_type_data_set_1d (std::string name) const
DataSetD< TypeTraits, 1 > add_child_type_data_set_1d (std::string name)
DataSetD< TypeTraits, 2 > get_child_type_data_set_2d (std::string name, DataSetAccessPropertiesD< TypeTraits, 2 > props) const
DataSetD< TypeTraits, 2 > add_child_type_data_set_2d (std::string name, DataSetCreationPropertiesD< TypeTraits, 2 > props)
DataSetD< TypeTraits, 2 > get_child_type_data_set_2d (std::string name) const
DataSetD< TypeTraits, 2 > add_child_type_data_set_2d (std::string name)
DataSetD< TypeTraits, 3 > get_child_type_data_set_3d (std::string name, DataSetAccessPropertiesD< TypeTraits, 3 > props) const
DataSetD< TypeTraits, 3 > add_child_type_data_set_3d (std::string name, DataSetCreationPropertiesD< TypeTraits, 3 > props)
DataSetD< TypeTraits, 3 > get_child_type_data_set_3d (std::string name) const
DataSetD< TypeTraits, 3 > add_child_type_data_set_3d (std::string name)

Detailed Description

Wrap an HDF5 Group. See the HDF5 manual for more information.

Definition at line 30 of file Group.h.

Constructor & Destructor Documentation

◆ Group()

RMF::HDF5::Group::Group ( )

Definition at line 44 of file Group.h.

Member Function Documentation

◆ add_child_data_set() [1/2]

template<class TypeTraits, unsigned int D>
DataSetD< TypeTraits, D > RMF::HDF5::Group::add_child_data_set ( std::string name)

Definition at line 57 of file Group.h.

◆ add_child_data_set() [2/2]

template<class TypeTraits, unsigned int D>
DataSetD< TypeTraits, D > RMF::HDF5::Group::add_child_data_set ( std::string name,
DataSetCreationPropertiesD< TypeTraits, D > props )

Definition at line 62 of file Group.h.

◆ add_child_type_data_set_1d() [1/2]

DataSetD< TypeTraits, 1 > RMF::HDF5::Group::add_child_type_data_set_1d ( std::string name)

Definition at line 112 of file Group.h.

◆ add_child_type_data_set_1d() [2/2]

DataSetD< TypeTraits, 1 > RMF::HDF5::Group::add_child_type_data_set_1d ( std::string name,
DataSetCreationPropertiesD< TypeTraits, 1 > props )

Definition at line 112 of file Group.h.

◆ add_child_type_data_set_2d() [1/2]

DataSetD< TypeTraits, 2 > RMF::HDF5::Group::add_child_type_data_set_2d ( std::string name)

Definition at line 112 of file Group.h.

◆ add_child_type_data_set_2d() [2/2]

DataSetD< TypeTraits, 2 > RMF::HDF5::Group::add_child_type_data_set_2d ( std::string name,
DataSetCreationPropertiesD< TypeTraits, 2 > props )

Definition at line 112 of file Group.h.

◆ add_child_type_data_set_3d() [1/2]

DataSetD< TypeTraits, 3 > RMF::HDF5::Group::add_child_type_data_set_3d ( std::string name)

Definition at line 112 of file Group.h.

◆ add_child_type_data_set_3d() [2/2]

DataSetD< TypeTraits, 3 > RMF::HDF5::Group::add_child_type_data_set_3d ( std::string name,
DataSetCreationPropertiesD< TypeTraits, 3 > props )

Definition at line 112 of file Group.h.

◆ get_child_data_set() [1/2]

template<class TypeTraits, unsigned int D>
DataSetD< TypeTraits, D > RMF::HDF5::Group::get_child_data_set ( std::string name) const

Definition at line 67 of file Group.h.

◆ get_child_data_set() [2/2]

template<class TypeTraits, unsigned int D>
DataSetD< TypeTraits, D > RMF::HDF5::Group::get_child_data_set ( std::string name,
DataSetAccessPropertiesD< TypeTraits, D > props ) const

Definition at line 72 of file Group.h.

◆ get_child_group()

Group RMF::HDF5::Group::get_child_group ( std::string name) const

get child group with given name without checks

  • verify group exists using get_has_child() and that it's a group using get_child_is_group()

◆ get_child_type_data_set_1d() [1/2]

DataSetD< TypeTraits, 1 > RMF::HDF5::Group::get_child_type_data_set_1d ( std::string name) const

Definition at line 112 of file Group.h.

◆ get_child_type_data_set_1d() [2/2]

DataSetD< TypeTraits, 1 > RMF::HDF5::Group::get_child_type_data_set_1d ( std::string name,
DataSetAccessPropertiesD< TypeTraits, 1 > props ) const

Definition at line 112 of file Group.h.

◆ get_child_type_data_set_2d() [1/2]

DataSetD< TypeTraits, 2 > RMF::HDF5::Group::get_child_type_data_set_2d ( std::string name) const

Definition at line 112 of file Group.h.

◆ get_child_type_data_set_2d() [2/2]

DataSetD< TypeTraits, 2 > RMF::HDF5::Group::get_child_type_data_set_2d ( std::string name,
DataSetAccessPropertiesD< TypeTraits, 2 > props ) const

Definition at line 112 of file Group.h.

◆ get_child_type_data_set_3d() [1/2]

DataSetD< TypeTraits, 3 > RMF::HDF5::Group::get_child_type_data_set_3d ( std::string name) const

Definition at line 112 of file Group.h.

◆ get_child_type_data_set_3d() [2/2]

DataSetD< TypeTraits, 3 > RMF::HDF5::Group::get_child_type_data_set_3d ( std::string name,
DataSetAccessPropertiesD< TypeTraits, 3 > props ) const

Definition at line 112 of file Group.h.


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