20 #ifndef DATA_TYPE_MAP_H 21 #define DATA_TYPE_MAP_H 23 #ifndef SHEAF_DLL_SPEC_H 24 #include "SheafSystem/sheaf_dll_spec.h" 28 #include "SheafSystem/any.h" 31 #ifndef PRIMITIVE_TYPE_H 32 #include "SheafSystem/primitive_type.h" 36 #include "SheafSystem/std_hdf5.h" 69 virtual bool invariant()
const;
74 virtual bool is_ancestor_of(
const any* other)
const;
104 return _converters[xpt];
112 return _max_internal_size;
120 return _max_external_size;
128 return _max_internal_size > _max_external_size ? _max_internal_size : _max_external_size;
168 #endif // ifndef DATA_TYPE_MAP_H hid_t _file
The hdf file handle.
size_t max_external_size() const
The external size of the largest fixed length type.
size_t _max_external_size
The external size of the largest fixed length type.
hid_t file() const
The hdf file this type map is associated with.
data_converter * converter(primitive_type xpt) const
The data converter for primitive type xpt.
size_t max_internal_size() const
The internal size of the largest fixed length type.
Abstract base class with useful features for all objects.
primitive_type
Type ids for sheaf primitives.
size_t _max_internal_size
The internal size of the largest fixed length type.
Function object to convert between internal and external data formats.
Namespace for the sheaves component of the sheaf system.
A collection of data converters that map data types between internal and external representations...
size_t max_size() const
The maximum size, internal or external, of any fixed length type.