#include <context.h>
Inheritance diagram for CVCL::ContextObj:
Definition at line 165 of file context.h.
|
Copy constructor (defined mainly for debugging purposes).
|
|
Create a new ContextObj. The initial scope is set to the bottom scope by default, to reduce the work of pop() (otherwise, if the object is defined only on a very high scope, its scope will be moved down with each pop). If 'atBottomScope' == false, the scope is set to the current scope. Definition at line 232 of file context.cpp. References IF_DEBUG(), and CVCL::TRACE. |
|
Definition at line 245 of file context.cpp. References CVCL::Scope::d_delayDelete, CVCL::ContextObjChain::d_restore, d_restore, CVCL::ContextObjChain::d_restoreChainNext, CVCL::ContextObjChain::d_restoreChainPrev, d_scope, IF_DEBUG(), and CVCL::TRACE. |
|
|
|
|
|
Update on the given scope, on the current scope if 'scope' == 0.
Definition at line 194 of file context.cpp. References CVCL::Scope::addToChain(), ContextObjChain, d_restore, d_scope, IF_DEBUG(), CVCL::int2string(), CVCL::Scope::level(), level(), makeCopy(), CVCL::Scope::prevScope(), and CVCL::Scope::topScope(). Referenced by makeCurrent(). |
|
Assignment operator (defined mainly for debugging purposes).
Definition at line 188 of file context.cpp. |
|
|
|
|
|
Definition at line 216 of file context.h. References d_scope, and CVCL::Scope::level(). Referenced by update(), and CVCL::CDFlags::update(). |
|
Definition at line 217 of file context.h. References d_scope, CVCL::Scope::isCurrent(), and CVCL::Scope::level(). Referenced by makeCurrent(). |
|
Definition at line 221 of file context.h. References isCurrent(), and update(). Referenced by CVCL::CDList< SmartCDO< Theorem > >::push_back(), CVCL::CDO< bool >::set(), CVCL::CDOmapOrdered< Key, Data >::set(), CVCL::CDOmap< Expr, SmartCDO< bigunsigned >, HashFcn >::set(), and CVCL::CDFlags::update(). |
|
|
|
|
|
Definition at line 167 of file context.h. Referenced by update(), and CVCL::CDFlags::update(). |
|
|
|
Last scope in which this object was modified.
Definition at line 171 of file context.h. Referenced by isCurrent(), level(), CVCL::ContextObjChain::restore(), update(), CVCL::CDFlags::update(), ~ContextObj(), and CVCL::Scope::~Scope(). |
|
The list of values on previous scopes; our destructor should clean up those.
Definition at line 175 of file context.h. Referenced by CVCL::ContextObjChain::restore(), update(), CVCL::CDFlags::update(), ~ContextObj(), and CVCL::ContextObjChain::~ContextObjChain(). |