Tatooine
Public Types | Public Member Functions | Private Attributes | List of all members
tatooine::hdf5::attribute Struct Reference

#include <hdf5.h>

Collaboration diagram for tatooine::hdf5::attribute:
[legend]

Public Types

using this_type = attribute
 

Public Member Functions

 attribute (hid_t const parent_id, std::string name)
 
 attribute (attribute &&) noexcept=default
 
auto operator= (attribute &&) noexcept -> attribute &=default
 
 ~attribute ()
 
template<typename T >
auto read_as () const
 
auto read_as_string () const
 
auto read_int () const
 
auto read_float () const
 
auto read_double () const
 
auto read_int8 () const
 
auto read_uint8 () const
 
auto read_int16 () const
 
auto read_uint16 () const
 
auto read_int32 () const
 
auto read_uint32 () const
 
template<typename T >
auto write (T const &val)
 
template<typename T >
auto operator= (T const &val) -> attribute &
 

Private Attributes

hid_t m_parent_id
 
std::string m_name
 

Member Typedef Documentation

◆ this_type

Constructor & Destructor Documentation

◆ attribute() [1/2]

tatooine::hdf5::attribute::attribute ( hid_t const  parent_id,
std::string  name 
)
inline

◆ attribute() [2/2]

◆ ~attribute()

tatooine::hdf5::attribute::~attribute ( )
inline

Member Function Documentation

◆ operator=() [1/2]

auto tatooine::hdf5::attribute::operator= ( attribute &&  ) -> attribute &=default
defaultnoexcept

◆ operator=() [2/2]

template<typename T >
auto tatooine::hdf5::attribute::operator= ( T const &  val) -> attribute&
inline

◆ read_as()

template<typename T >
auto tatooine::hdf5::attribute::read_as ( ) const
inline

◆ read_as_string()

auto tatooine::hdf5::attribute::read_as_string ( ) const
inline

◆ read_double()

auto tatooine::hdf5::attribute::read_double ( ) const
inline

◆ read_float()

auto tatooine::hdf5::attribute::read_float ( ) const
inline

◆ read_int()

auto tatooine::hdf5::attribute::read_int ( ) const
inline

◆ read_int16()

auto tatooine::hdf5::attribute::read_int16 ( ) const
inline

◆ read_int32()

auto tatooine::hdf5::attribute::read_int32 ( ) const
inline

◆ read_int8()

auto tatooine::hdf5::attribute::read_int8 ( ) const
inline

◆ read_uint16()

auto tatooine::hdf5::attribute::read_uint16 ( ) const
inline

◆ read_uint32()

auto tatooine::hdf5::attribute::read_uint32 ( ) const
inline

◆ read_uint8()

auto tatooine::hdf5::attribute::read_uint8 ( ) const
inline

◆ write()

template<typename T >
auto tatooine::hdf5::attribute::write ( T const &  val)
inline

Member Data Documentation

◆ m_name

std::string tatooine::hdf5::attribute::m_name
private

◆ m_parent_id

hid_t tatooine::hdf5::attribute::m_parent_id
private

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