29 #include <type_traits>
145 virtual void size(
size_t size)
const;
147 explicit operator hid_t()
const
149 return static_cast<hid_t
>(handle_);
Wrapper for hid_t object identifiers.
Definition: object_handle.hpp:67
base class for all data types
Definition: datatype.hpp:42
Datatype native_type(Direction dir=Direction::Ascend) const
get native type
Datatype(Datatype &&type)=default
move constructor
Class get_class() const
returns the datatypes class
Datatype & operator=(Datatype &&type)=default
move assignment
virtual size_t size() const
get size of type in bytes
Datatype(const Datatype &type)
copy constructor
Datatype()=default
default constructor
virtual ~Datatype()
destructor
Datatype & operator=(const Datatype &type)
copy assignment
bool has_class(Class type_class) const
search for a type class
Datatype super() const
get the base type
Datatype(ObjectHandle &&handle)
constructor
virtual void size(size_t size) const
set the size of a type in bytes
bool is_valid() const
check status of the object
bool operator==(const Datatype &lhs, const Datatype &rhs)
equality check for datatypes
bool operator!=(const Datatype &lhs, const Datatype &rhs)
inequality check for datatypes
Class
Definition: types.hpp:53
Direction
Definition: types.hpp:173
top-level namespace of the entire library
Definition: attribute.hpp:45
#define DLL_EXPORT
Definition: windows.hpp:29