#include <context.h>
Collaboration diagram for CVC3::ContextObjChain:
Definition at line 133 of file context.h.
CVC3::ContextObjChain::ContextObjChain | ( | ContextObj * | data, | |
ContextObj * | master, | |||
ContextObjChain * | restore | |||
) | [inline, private] |
CVC3::ContextObjChain::~ContextObjChain | ( | ) | [inline] |
ContextObjChain * ContextObjChain::restore | ( | void | ) | [private] |
Restore from d_data to d_master.
Definition at line 111 of file context.cpp.
References d_data, d_master, d_restore, CVC3::ContextObj::d_restore, d_restoreChainNext, CVC3::ContextObj::d_scope, DebugAssert, and CVC3::ContextObj::restoreData().
Referenced by CVC3::Scope::restore().
void* CVC3::ContextObjChain::operator new | ( | size_t | size, | |
MemoryManager * | mm | |||
) | [inline] |
void CVC3::ContextObjChain::operator delete | ( | void * | pMem, | |
MemoryManager * | mm | |||
) | [inline] |
void CVC3::ContextObjChain::operator delete | ( | void * | ) | [inline] |
void* CVC3::ContextObjChain::operator new | ( | size_t | size, | |
bool | b | |||
) | [inline] |
void CVC3::ContextObjChain::operator delete | ( | void * | pMem, | |
bool | b | |||
) | [inline] |
friend class ContextObj [friend] |
Next link in chain.
Definition at line 139 of file context.h.
Referenced by CVC3::Scope::addToChain(), CVC3::Scope::check(), CVC3::Scope::finalize(), and restore().
Pointer to the pointer of the previous object which points to us. This makes a doubly-linked list for easy element deletion.
Definition at line 144 of file context.h.
Referenced by CVC3::Scope::addToChain().
ContextObjChain* CVC3::ContextObjChain::d_restore [private] |
Pointer to the previous copy which belongs to the same master.
Definition at line 147 of file context.h.
Referenced by CVC3::ContextObj::getRestore(), and restore().
ContextObj* CVC3::ContextObjChain::d_data [private] |
Pointer to copy of master to be restored when restore() is called.
Definition at line 150 of file context.h.
Referenced by CVC3::ContextObj::getRestore(), and restore().
ContextObj* CVC3::ContextObjChain::d_master [private] |
Pointer to the master object.
Definition at line 153 of file context.h.
Referenced by CVC3::Scope::finalize(), and restore().