|
RMF
|
#include <RMF/HDF5/ConstAttributes.h>
Public Member Functions | |
| template<class CT, class CF> | |
| CT | copy_to (const CF &cf) const |
| bool | get_has_attribute (std::string nm) const |
Protected Member Functions | |
| ConstAttributes (std::shared_ptr< SharedHandle > h) | |
Template attribute methods | |
When manipulating attributes from C++ you can use these templated methods. | |
| template<class TypeTraits> | |
| TypeTraits::Types | get_attribute (std::string name) const |
Nontemplated attributes | |
When using python, call the non-template versions of the attribute manipulation methods. | |
| 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 |
Wrap getting the attributes from an HDF5 Object. Each data set or group can have associated data. These data should be relatively small (a few k at most). See MutableAttributes for the methods to change the attribute data.
Definition at line 29 of file ConstAttributes.h.
|
protected |
Definition at line 32 of file ConstAttributes.h.
|
protected |
Definition at line 33 of file ConstAttributes.h.
| CT RMF::HDF5::ConstAttributes< Base >::copy_to | ( | const CF & | cf | ) | const |
Definition at line 62 of file ConstAttributes.h.
| TypeTraits::Types RMF::HDF5::ConstAttributes< Base >::get_attribute | ( | std::string | name | ) | const |
Definition at line 45 of file ConstAttributes.h.
| std::string RMF::HDF5::ConstAttributes< Base >::get_char_attribute | ( | std::string | nm | ) | const |
Definition at line 81 of file ConstAttributes.h.
| Floats RMF::HDF5::ConstAttributes< Base >::get_float_attribute | ( | std::string | nm | ) | const |
Definition at line 80 of file ConstAttributes.h.
| bool RMF::HDF5::ConstAttributes< Base >::get_has_attribute | ( | std::string | nm | ) | const |
Definition at line 65 of file ConstAttributes.h.
| Ints RMF::HDF5::ConstAttributes< Base >::get_index_attribute | ( | std::string | nm | ) | const |
Definition at line 80 of file ConstAttributes.h.
| Ints RMF::HDF5::ConstAttributes< Base >::get_int_attribute | ( | std::string | nm | ) | const |
Definition at line 80 of file ConstAttributes.h.