![]() |
SheafSystem
0.0.0.0
|
A collection of data converters that map data types between internal and external representations associated with a specific file. More...
#include <file_data_type_map.h>
Public Member Functions | |
virtual file_data_type_map * | clone () const |
Virtual constructor; makes a new instance of the same type as this. More... | |
virtual bool | invariant () const |
Class invariant. More... | |
virtual bool | is_ancestor_of (const any *other) const |
Conformance test; true if other conforms to this. More... | |
file_data_type_map (hid_t xfile, bool xcreate_ext_types) | |
Creates an instance for xfile. More... | |
file_data_type_map (const file_data_type_map &xother) | |
Copy constructor. More... | |
virtual | ~file_data_type_map () |
Destructor. More... | |
![]() | |
virtual | ~data_type_map () |
Destructor. More... | |
hid_t | file () const |
The hdf file this type map is associated with. More... | |
data_converter * | operator[] (int xi) const |
The data converter for the type with index xi. More... | |
data_converter * | converter (primitive_type xpt) const |
The data converter for primitive type xpt. More... | |
size_t | max_internal_size () const |
The internal size of the largest fixed length type. More... | |
size_t | max_external_size () const |
The external size of the largest fixed length type. More... | |
size_t | max_size () const |
The maximum size, internal or external, of any fixed length type. More... | |
![]() | |
bool | is_same_type (const any *other) const |
True if other is the same type as this. More... | |
virtual | ~any () |
Destructor. More... | |
bool | invariant_check () const |
True if invariant checking is enabled. More... | |
void | enable_invariant_check () const |
Enable invariant checking. More... | |
void | disable_invariant_check () const |
Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing invariant checking during multi-phase initialization. More... | |
int | disable_invariance_check_request_depth () const |
Number of times disable_invariant_check has been called without matching call to enable_invariant_check. More... | |
Additional Inherited Members | |
![]() | |
data_type_map () | |
Default constructor. More... | |
data_type_map (const data_type_map &xother) | |
Copy constructor. More... | |
![]() | |
any () | |
default constructor More... | |
![]() | |
hid_t | _file |
The hdf file handle. More... | |
size_t | _max_internal_size |
The internal size of the largest fixed length type. More... | |
size_t | _max_external_size |
The external size of the largest fixed length type. More... | |
data_converter * | _converters [PRIMITIVE_TYPE_END] |
Table of converters, one for each type defined in the file. More... | |
A collection of data converters that map data types between internal and external representations associated with a specific file.
Definition at line 39 of file file_data_type_map.h.
sheaf::file_data_type_map::file_data_type_map | ( | hid_t | xfile, |
bool | xcreate_ext_types | ||
) |
sheaf::file_data_type_map::file_data_type_map | ( | const file_data_type_map & | xother | ) |
Copy constructor.
Definition at line 188 of file file_data_type_map.cc.
References invariant(), and ~file_data_type_map().
|
virtual |
Destructor.
Definition at line 207 of file file_data_type_map.cc.
References sheaf::data_type_map::_converters, sheaf::data_type_map::_file, sheaf::primitive_attributes::hdf_type(), sheaf::primitive_attributes::hdf_type_name(), and sheaf::primitive_attributes::prototype().
Referenced by file_data_type_map().
|
virtual |
Virtual constructor; makes a new instance of the same type as this.
Reimplemented from sheaf::data_type_map.
Definition at line 38 of file file_data_type_map.cc.
References invariant().
|
virtual |
Class invariant.
Reimplemented from sheaf::data_type_map.
Definition at line 64 of file file_data_type_map.cc.
References is_ancestor_of().
Referenced by clone(), and file_data_type_map().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from sheaf::data_type_map.
Definition at line 97 of file file_data_type_map.cc.
Referenced by invariant().