20 #include "SheafSystem/dof_tuple_schema_ids_record.h" 22 #include "SheafSystem/assert_contract.h" 23 #include "SheafSystem/std_sstream.h" 47 ensure(is_same_type(result));
68 result = result && attributes_record::invariant();
74 disable_invariant_check();
78 enable_invariant_check();
186 require(
scaffold().structure().state_is_read_write_accessible());
206 while(lstream >> ltuple_id_pod)
210 lstream >> lschema_id_pod;
216 map_type::value_type lval(ltuple_id_pod, lschema_id_pod);
234 require(
scaffold().structure().state_is_read_accessible());
238 stringstream lstream;
240 lstream <<
"Dof tuple schema ids:" << endl;
242 poset_scaffold::dof_tuple_schema_ids_type::iterator itr;
244 for(itr =
scaffold().dof_tuple_schema_ids().begin();
248 lstream << itr->first <<
" " << itr->second << endl;
dof_tuple_schema_ids_record(poset_scaffold &xscaffold)
Creates an instance with type map xtype_map.
poset_scaffold & scaffold()
The scaffold for the poset associated with this record (mutable version).
void transfer_internal_buffer_to_poset()
Initializes the poset from the internal buffer.
unordered::unordered_map< pod_index_type, pod_index_type > dof_tuple_schema_ids_type
Type of dof tuple schema ids map.
virtual dof_tuple_schema_ids_record * clone() const
Virtual constructor; makes a new instance of the same type as this.
Abstract base class with useful features for all objects.
A wrapper/adapter for the dof tuple schema ids record. Intended for transferring index-id map data be...
std::string _str_buf
The internal/external buffer.
bool is_internal() const
True if the internal buffer has been initialized.
virtual bool invariant() const
Class invariant.
void put_is_internal(bool xis_internal)
Sets is_internal to xis_internal.
SHEAF_DLL_SPEC void max(const vd &x0, vd_value_type &xresult, bool xauto_access)
Maximum component of x0, pre-allocated version.
virtual bool is_ancestor_of(const any *other) const
Conformance test; true if other conforms to this.
void transfer_poset_to_internal_buffer()
Initializes the internal buffer from the poset.
dof_tuple_schema_ids_type & dof_tuple_schema_ids()
Dof tuple schema ids (mutable version).
int_type pod_index_type
The plain old data index type.
virtual ~dof_tuple_schema_ids_record()
Destructor.
A poset specific collection of data converters, various buffers and other data used while transferrin...
bool is_external() const
True if the external buffer has been initialized.
An abstract wrapper/adapter for attributes records. Intended for transferring data between the kernel...
void put_is_external(bool xis_external)
Sets is_external to xis_external.