CVC3
2.4.1
|
#include <variable.h>
typedef std::hash_set<VariableValue*, HashLV, EqLV> CVC3::VariableManager::VariableValueSet [private] |
Definition at line 393 of file variable.h.
CVC3::VariableManager::VariableManager | ( | ContextManager * | cm, |
SearchEngineRules * | rules, | ||
const std::string & | mmFlag | ||
) |
Definition at line 368 of file variable.cpp.
References d_mm, d_notifyObj, d_cm, and CVC3::ContextManager::getCurrentContext().
CVC3::VariableManager::~VariableManager | ( | ) |
Definition at line 380 of file variable.cpp.
References d_notifyObj, d_disableGC, d_varSet, Hash::hash_set::begin(), Hash::hash_set::end(), Hash::hash_set::clear(), and d_mm.
VariableValue * CVC3::VariableManager::newVariableValue | ( | const Expr & | e | ) | [private] |
Definition at line 357 of file variable.cpp.
References CVC3::VariableValue::VariableValue().
void CVC3::VariableManager::gc | ( | VariableValue * | v | ) |
Garbage collect VariableValue pointer.
Definition at line 400 of file variable.cpp.
References d_disableGC, d_varSet, Hash::hash_set::erase(), d_postponeGC, d_deleted, d_mm, and CVC3::MemoryManager::deleteData().
Referenced by CVC3::Variable::~Variable(), and CVC3::Variable::operator=().
void CVC3::VariableManager::postponeGC | ( | ) | [inline] |
Postpone garbage collection.
Definition at line 409 of file variable.h.
References d_postponeGC.
Referenced by CVC3::VariableManagerNotifyObj::notifyPre().
void CVC3::VariableManager::resumeGC | ( | ) |
Resume garbage collection.
Definition at line 413 of file variable.cpp.
References d_postponeGC, d_deleted, d_mm, and CVC3::MemoryManager::deleteData().
Referenced by CVC3::VariableManagerNotifyObj::notify().
ContextManager* CVC3::VariableManager::getCM | ( | ) | const [inline] |
Definition at line 413 of file variable.h.
References d_cm.
Referenced by CVC3::VariableValue::setValue(), and CVC3::VariableValue::setAssumpThm().
SearchEngineRules* CVC3::VariableManager::getRules | ( | ) | const [inline] |
Definition at line 414 of file variable.h.
References d_rules.
Referenced by CVC3::Variable::deriveThmRec().
friend class Variable [friend] |
Definition at line 364 of file variable.h.
friend class VariableValue [friend] |
Definition at line 365 of file variable.h.
ContextManager* CVC3::VariableManager::d_cm [private] |
Definition at line 367 of file variable.h.
Referenced by VariableManager(), and getCM().
MemoryManager* CVC3::VariableManager::d_mm [private] |
Definition at line 368 of file variable.h.
Referenced by VariableManager(), ~VariableManager(), gc(), and resumeGC().
SearchEngineRules* CVC3::VariableManager::d_rules [private] |
Definition at line 369 of file variable.h.
Referenced by getRules().
Definition at line 370 of file variable.h.
Referenced by VariableManager(), and ~VariableManager().
bool CVC3::VariableManager::d_disableGC [private] |
Disable the garbage collection.
Normally, it's set in the destructor, so that we can delete all remaining variables without GC getting in the way
Definition at line 375 of file variable.h.
Referenced by ~VariableManager(), and gc().
bool CVC3::VariableManager::d_postponeGC [private] |
Postpone garbage collection.
Definition at line 377 of file variable.h.
Referenced by gc(), resumeGC(), and postponeGC().
std::vector<VariableValue*> CVC3::VariableManager::d_deleted [private] |
Vector of variables to be deleted (postponed during pop())
Definition at line 379 of file variable.h.
Referenced by gc(), and resumeGC().
Definition at line 394 of file variable.h.
Referenced by ~VariableManager(), and gc().