MDAL
Public Types | Public Member Functions | Protected Attributes | List of all members
HdfAttribute Class Reference

Public Types

typedef HdfH< H5I_ATTR > Handle
 

Public Member Functions

 HdfAttribute (hid_t obj_id, const std::string &attr_name, HdfDataType type)
 Create new attribute for writing for 1 item.
 
 HdfAttribute (hid_t obj_id, const std::string &attr_name)
 Open existing attribute for reading.
 
bool isValid () const
 
hid_t id () const
 
std::string readString () const
 
double readDouble () const
 
void write (const std::string &value)
 
void write (int value)
 

Protected Attributes

std::shared_ptr< Handled
 
hid_t m_objId
 
std::string m_name
 
HdfDataType mType
 

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