SheafSystem  0.0.0.0
sheaf::record Class Reference

The general variable length record wrapper/adapter for transferring data between the kernel and the i/o subsystem. More...

#include <record.h>

Inheritance diagram for sheaf::record:
sheaf::any sheaf::variable_length_record sheaf::attributes_record sheaf::interval_index_space_record sheaf::map_record sheaf::member_record sheaf::dof_tuple_class_names_record sheaf::dof_tuple_col_bounds_record sheaf::dof_tuple_domain_offsets_record sheaf::dof_tuple_schema_ids_record sheaf::dof_tuple_schema_versions_record sheaf::dof_tuple_types_record sheaf::id_space_names_record sheaf::member_class_names_record sheaf::member_names_record sheaf::poset_general_record sheaf::subposet_names_record sheaf::table_dof_tuple_record

Public Member Functions

 record (const record &xother)
 Copy constructor. More...
 
virtual recordclone () const
 Virtual constructor; makes a new instance of the same type as this. More...
 
virtual ~record ()
 Destructor. 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...
 
 record (const poset_scaffold &xscaffold)
 Creates an instance with type map xtype_map. More...
 
record_index external_index () const
 The external index of this record. More...
 
void put_external_index (const record_index &xindex)
 Sets the index of this record to xindex. More...
 
poset_scaffoldscaffold ()
 The scaffold for the poset associated with this record (mutable version). More...
 
const poset_scaffoldscaffold () const
 The scaffold for the poset associated with this record (const version). More...
 
poset_data_type_maptype_map ()
 The data type map used to convert data for this record (mutable version). More...
 
const poset_data_type_maptype_map () const
 The data type map used to convert data for this record (const version). More...
 
- Public Member Functions inherited from sheaf::any
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

- Protected Member Functions inherited from sheaf::any
 any ()
 default constructor More...
 

Detailed Description

The general variable length record wrapper/adapter for transferring data between the kernel and the i/o subsystem.

Definition at line 48 of file record.h.

Constructor & Destructor Documentation

◆ record() [1/2]

sheaf::record::record ( const record xother)

Copy constructor.

Postcondition

Definition at line 33 of file record.cc.

References clone(), and invariant().

Referenced by clone(), and is_ancestor_of().

◆ ~record()

sheaf::record::~record ( )
virtual

Destructor.

Definition at line 76 of file record.cc.

References invariant().

Referenced by clone().

◆ record() [2/2]

sheaf::record::record ( const poset_scaffold xscaffold)

Creates an instance with type map xtype_map.

Postcondition

Definition at line 156 of file record.cc.

References external_index(), sheaf::scoped_index::invalidate(), invariant(), sheaf::is_valid(), and scaffold().

Member Function Documentation

◆ clone()

◆ external_index()

record_index sheaf::record::external_index ( ) const
inline

The external index of this record.

Definition at line 94 of file record.h.

Referenced by sheaf::member_record::member_record(), record(), and sheaf::variable_length_record::variable_length_record().

◆ invariant()

◆ is_ancestor_of()

◆ put_external_index()

void sheaf::record::put_external_index ( const record_index xindex)
inline

Sets the index of this record to xindex.

Definition at line 102 of file record.h.

◆ scaffold() [1/2]

poset_scaffold& sheaf::record::scaffold ( )
inline

The scaffold for the poset associated with this record (mutable version).

Definition at line 112 of file record.h.

Referenced by sheaf::member_record::external_size(), sheaf::map_record::externalize(), sheaf::interval_index_space_record::externalize(), sheaf::attributes_record::externalize(), sheaf::member_record::externalize(), sheaf::member_record::has_equivalence_iterator(), sheaf::attributes_record::internalize(), sheaf::interval_index_space_record::internalize(), sheaf::map_record::internalize(), sheaf::member_record::internalize(), sheaf::member_record::member_record(), sheaf::member_record::new_equivalence_iterator(), record(), sheaf::table_dof_tuple_record::table_dof_tuple_record(), sheaf::table_dof_tuple_record::transfer_internal_buffer_to_poset(), sheaf::id_space_names_record::transfer_internal_buffer_to_poset(), sheaf::subposet_names_record::transfer_internal_buffer_to_poset(), sheaf::dof_tuple_domain_offsets_record::transfer_internal_buffer_to_poset(), sheaf::dof_tuple_class_names_record::transfer_internal_buffer_to_poset(), sheaf::dof_tuple_schema_ids_record::transfer_internal_buffer_to_poset(), sheaf::member_class_names_record::transfer_internal_buffer_to_poset(), sheaf::dof_tuple_col_bounds_record::transfer_internal_buffer_to_poset(), sheaf::dof_tuple_schema_versions_record::transfer_internal_buffer_to_poset(), sheaf::dof_tuple_types_record::transfer_internal_buffer_to_poset(), sheaf::member_names_record::transfer_internal_buffer_to_poset(), sheaf::poset_general_record::transfer_internal_buffer_to_poset(), sheaf::attributes_record::transfer_internal_buffer_to_poset(), sheaf::table_dof_tuple_record::transfer_poset_to_internal_buffer(), sheaf::id_space_names_record::transfer_poset_to_internal_buffer(), sheaf::subposet_names_record::transfer_poset_to_internal_buffer(), sheaf::dof_tuple_class_names_record::transfer_poset_to_internal_buffer(), sheaf::member_class_names_record::transfer_poset_to_internal_buffer(), sheaf::dof_tuple_col_bounds_record::transfer_poset_to_internal_buffer(), sheaf::dof_tuple_schema_ids_record::transfer_poset_to_internal_buffer(), sheaf::dof_tuple_domain_offsets_record::transfer_poset_to_internal_buffer(), sheaf::dof_tuple_types_record::transfer_poset_to_internal_buffer(), sheaf::dof_tuple_schema_versions_record::transfer_poset_to_internal_buffer(), sheaf::member_names_record::transfer_poset_to_internal_buffer(), sheaf::poset_general_record::transfer_poset_to_internal_buffer(), sheaf::attributes_record::transfer_poset_to_internal_buffer(), and sheaf::variable_length_record::variable_length_record().

◆ scaffold() [2/2]

const poset_scaffold& sheaf::record::scaffold ( ) const
inline

The scaffold for the poset associated with this record (const version).

Definition at line 120 of file record.h.

◆ type_map() [1/2]

poset_data_type_map& sheaf::record::type_map ( )
inline

The data type map used to convert data for this record (mutable version).

Definition at line 130 of file record.h.

Referenced by sheaf::member_record::externalize(), sheaf::member_record::internalize(), and sheaf::poset_general_record::transfer_poset_to_internal_buffer().

◆ type_map() [2/2]

const poset_data_type_map& sheaf::record::type_map ( ) const
inline

The data type map used to convert data for this record (const version).

Definition at line 138 of file record.h.


The documentation for this class was generated from the following files: