RMF
RMF::HDF5::ConstGroup Class Reference

#include <RMF/HDF5/ConstGroup.h>

Inheritance diagram for RMF::HDF5::ConstGroup:

Public Member Functions

 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
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

 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.

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

Detailed Description

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

Definition at line 30 of file ConstGroup.h.

Constructor & Destructor Documentation

◆ ConstGroup()

RMF::HDF5::ConstGroup::ConstGroup ( )

Definition at line 44 of file ConstGroup.h.

Member Function Documentation

◆ get_child_data_set() [1/2]

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

Definition at line 50 of file ConstGroup.h.

◆ get_child_data_set() [2/2]

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

Definition at line 55 of file ConstGroup.h.

◆ get_child_group()

ConstGroup RMF::HDF5::ConstGroup::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_is_group()

bool RMF::HDF5::ConstGroup::get_child_is_group ( std::string name) const

returns true if child is group without checks

  • verify child exists using get_has_child()

◆ get_child_type_data_set_1d() [1/2]

ConstDataSetD< TypeTraits, 1 > RMF::HDF5::ConstGroup::get_child_type_data_set_1d ( std::string name) const

Definition at line 86 of file ConstGroup.h.

◆ get_child_type_data_set_1d() [2/2]

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

Definition at line 86 of file ConstGroup.h.

◆ get_child_type_data_set_2d() [1/2]

ConstDataSetD< TypeTraits, 2 > RMF::HDF5::ConstGroup::get_child_type_data_set_2d ( std::string name) const

Definition at line 86 of file ConstGroup.h.

◆ get_child_type_data_set_2d() [2/2]

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

Definition at line 86 of file ConstGroup.h.

◆ get_child_type_data_set_3d() [1/2]

ConstDataSetD< TypeTraits, 3 > RMF::HDF5::ConstGroup::get_child_type_data_set_3d ( std::string name) const

Definition at line 86 of file ConstGroup.h.

◆ get_child_type_data_set_3d() [2/2]

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

Definition at line 86 of file ConstGroup.h.


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