25 #ifndef SHEAF_DLL_SPEC_H 26 #include "SheafSystem/sheaf_dll_spec.h" 30 #include "SheafSystem/sheaf.h" 39 class SHEAF_DLL_SPEC
any 49 virtual bool is_ancestor_of(
const any* other)
const;
54 bool is_same_type(
const any* other)
const;
60 virtual any* clone()
const;
74 virtual bool invariant()
const;
81 return _disable_invariance_check_request_depth == 0;
89 --_disable_invariance_check_request_depth;
99 ++_disable_invariance_check_request_depth;
108 return _disable_invariance_check_request_depth;
125 mutable int _disable_invariance_check_request_depth;
130 #endif // ifndef ANY_H Abstract base class with useful features for all objects.
int disable_invariance_check_request_depth() const
Number of times disable_invariant_check has been called without matching call to enable_invariant_che...
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.
Namespace for the sheaves component of the sheaf system.
void enable_invariant_check() const
Enable invariant checking.