21 #include "SheafSystem/record.h" 22 #include "SheafSystem/assert_contract.h" 34 : _index(xother._index), _scaffold(xother._scaffold)
60 result =
new record(*
this);
140 bool result =
dynamic_cast<const record*
>(other) != 0;
169 ensure(&(
scaffold()) == &xscaffold);
virtual bool invariant() const
Class invariant, intended to be redefined in each descendant. See below for template for invariant in...
poset_scaffold & scaffold()
The scaffold for the poset associated with this record (mutable version).
virtual bool invariant() const
Class invariant.
virtual ~record()
Destructor.
record_index external_index() const
The external index of this record.
void invalidate()
Make this id invalid.
Abstract base class with useful features for all objects.
The general variable length record wrapper/adapter for transferring data between the kernel and the i...
virtual bool is_ancestor_of(const any *other) const
Conformance test; true if other conforms to this.
record(const record &xother)
Copy constructor.
void disable_invariant_check() const
Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing inv...
bool invariant_check() const
True if invariant checking is enabled.
A poset specific collection of data converters, various buffers and other data used while transferrin...
SHEAF_DLL_SPEC bool is_valid(pod_index_type xpod_index)
True if an only if xpod_index is valid.
bool is_same_type(const any *other) const
True if other is the same type as this.
void enable_invariant_check() const
Enable invariant checking.
virtual record * clone() const
Virtual constructor; makes a new instance of the same type as this.