#include <debug.h>
Useful for tracking when the control is within a certain method or not. For example, TheoryCore::addFact() uses d_inAddFact to check that certain other methods are only called from within addFact(). However, when an exception is thrown, this variable is not reset. The watcher class will reset the variable even in those cases.
Definition at line 91 of file debug.h.
CVC3::ScopeWatcher::ScopeWatcher | ( | bool * | flag | ) | [inline] |
CVC3::ScopeWatcher::~ScopeWatcher | ( | ) | [inline] |
bool* CVC3::ScopeWatcher::d_flag [private] |