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 (unsigned int i) const
 
ConstGroup get_child_group (std::string name) const
 
bool get_child_is_data_set (unsigned int i) const
 
bool get_child_is_group (unsigned int i) const
 
bool get_child_is_group (std::string name) 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< SharedHandleget_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.

Member Function Documentation

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

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