![]() |
SheafSystem
0.0.0.0
|
A poset specific collection of data converters, various buffers and other data used while transferring posets between internal and external representations. More...
#include <poset_data_type_map.h>
Public Member Functions | |
virtual poset_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... | |
poset_data_type_map (const data_type_map &xprim_map) | |
Create an instance with primitive type converters from xprim_map and default member record types. More... | |
poset_data_type_map (const poset_data_type_map &xother) | |
Copy constructor. More... | |
virtual | ~poset_data_type_map () |
Destructor. More... | |
data_converter * | toc_converter () const |
The data converter for implementation type toc. More... | |
data_converter * | dof_tuple_id_converter () const |
The data converter for implementation type dof_tuple_id. More... | |
data_converter * | offset_converter () const |
The data converter for implementation type offset. More... | |
void | put_member_record_type_aliases (int xtoc_index, int xdof_tuple_id_index, int xoffset_index) |
Sets the member record specific data types These features are logically members of class member_record, but are placed here so they will only be initialized once per poset, rather than once per member record. 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 poset specific collection of data converters, various buffers and other data used while transferring posets between internal and external representations.
Definition at line 62 of file poset_data_type_map.h.
sheaf::poset_data_type_map::poset_data_type_map | ( | const data_type_map & | xprim_map | ) |
Create an instance with primitive type converters from xprim_map and default member record types.
Definition at line 121 of file poset_data_type_map.cc.
References invariant().
sheaf::poset_data_type_map::poset_data_type_map | ( | const poset_data_type_map & | xother | ) |
Copy constructor.
Definition at line 146 of file poset_data_type_map.cc.
References invariant(), and ~poset_data_type_map().
|
virtual |
Destructor.
Definition at line 167 of file poset_data_type_map.cc.
References invariant(), sheaf::is_primitive_index(), and put_member_record_type_aliases().
Referenced by poset_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 32 of file poset_data_type_map.cc.
References invariant(), and sheaf::any::is_same_type().
|
inline |
The data converter for implementation type dof_tuple_id.
Definition at line 121 of file poset_data_type_map.h.
Referenced by sheaf::poset_general_record::transfer_poset_to_internal_buffer().
|
virtual |
Class invariant.
Reimplemented from sheaf::data_type_map.
Definition at line 56 of file poset_data_type_map.cc.
References sheaf::any::disable_invariant_check(), sheaf::any::enable_invariant_check(), sheaf::data_type_map::invariant(), sheaf::any::invariant_check(), and is_ancestor_of().
Referenced by clone(), poset_data_type_map(), and ~poset_data_type_map().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from sheaf::data_type_map.
Definition at line 93 of file poset_data_type_map.cc.
Referenced by invariant().
|
inline |
The data converter for implementation type offset.
Definition at line 129 of file poset_data_type_map.h.
Referenced by sheaf::poset_general_record::transfer_poset_to_internal_buffer().
void sheaf::poset_data_type_map::put_member_record_type_aliases | ( | int | xtoc_index, |
int | xdof_tuple_id_index, | ||
int | xoffset_index | ||
) |
Sets the member record specific data types These features are logically members of class member_record, but are placed here so they will only be initialized once per poset, rather than once per member record.
Referenced by sheaf::poset_scaffold::put_member_record_type_aliases(), and ~poset_data_type_map().
|
inline |
The data converter for implementation type toc.
Definition at line 113 of file poset_data_type_map.h.
Referenced by sheaf::poset_general_record::transfer_poset_to_internal_buffer().