41 #pragma clang diagnostic push
42 #pragma clang diagnostic ignored "-Wweak-vtables"
94 void insert(
const std::string &name,
size_t offset,
const Datatype &type)
const;
100 #pragma clang diagnostic pop
Wrapper for hid_t object identifiers.
Definition: object_handle.hpp:67
compound data type
Definition: compound.hpp:44
Compound(const Datatype &type)
construct from generic datatype
Compound(ObjectHandle &&handle)
construct from handle
Class field_class(size_t index) const
Datatype operator[](size_t index) const
return the datatype for index element
size_t field_index(const std::string &name) const
return the index of a type element
size_t field_offset(size_t index) const
void insert(const std::string &name, size_t offset, const Datatype &type) const
std::string field_name(size_t index) const
size_t number_of_fields() const
return the total number of elements of the type
size_t field_offset(const std::string &name) const
Class field_class(const std::string &name) const
Compound()=default
default constructor
Datatype operator[](const std::string &name) const
return the datatype for element name
static Compound create(size_t size)
constructor
base class for all data types
Definition: datatype.hpp:42
Class
Definition: types.hpp:53
top-level namespace of the entire library
Definition: attribute.hpp:45
#define DLL_EXPORT
Definition: windows.hpp:29