21 #include "SheafSystem/any_lite.h" 22 #include "SheafSystem/assert_contract.h" 62 const string& result = static_class_name();
66 ensure(!result.empty());
81 static const string result(
"any_lite");
85 ensure(!result.empty());
113 ensure(is_same_type(*result));
126 require(&xother != 0);
132 bool result =
dynamic_cast<const any_lite*
>(&xother) != 0;
147 require(&xother != 0);
153 bool result = this->is_ancestor_of(xother) && xother.
is_ancestor_of(*
this);
175 _disable_invariance_check_request_depth = 0;
179 ensure(invariant_check());
203 invariance(disable_invariance_check_request_depth() >= 0);
virtual void * row_dofs()
The row dofs for this instance (mutable version).
bool is_same_type(const any_lite &xother) const
True if other is the same type as this.
virtual const std::string & class_name() const =0
The name of this class.
bool invariant() const
Class invariant, intended to be redefined in each descendant.
any_lite()
Default constructor.
Abstract base class with useful features for all volatile objects.
static const std::string & static_class_name()
The name of this class.
virtual any_lite * clone() const
Virtual constructor, makes a new instance of the same type as this.
virtual ~any_lite()
Destructor.
virtual bool is_ancestor_of(const any_lite &xother) const
True if other conforms to this.
Namespace for the fiber_bundles component of the sheaf system.