dlvhex
2.5.0
|
Abstract base class for the SaftyCheckers. More...
#include <include/dlvhex2/SafetyChecker.h>
Public Member Functions | |
SafetyCheckerBase (const ProgramCtx &ctx) | |
Constructor. | |
virtual | ~SafetyCheckerBase () |
Destructor. | |
virtual void | operator() () const =0 throw (SyntaxError) |
operator() does the safety check. | |
Protected Attributes | |
const ProgramCtx & | ctx |
ProgramCtx. |
Abstract base class for the SaftyCheckers.
Definition at line 50 of file SafetyChecker.h.
DLVHEX_NAMESPACE_BEGIN SafetyCheckerBase::SafetyCheckerBase | ( | const ProgramCtx & | ctx | ) |
Constructor.
ctx | See SafetyCheckerBase::ctx. |
Definition at line 48 of file SafetyChecker.cpp.
SafetyCheckerBase::~SafetyCheckerBase | ( | ) | [virtual] |
Destructor.
Definition at line 54 of file SafetyChecker.cpp.
virtual void SafetyCheckerBase::operator() | ( | ) | const throw (SyntaxError) [pure virtual] |
operator() does the safety check.
Implemented in StrongSafetyChecker, and SafetyChecker.
const ProgramCtx& SafetyCheckerBase::ctx [protected] |
Definition at line 54 of file SafetyChecker.h.
Referenced by StrongSafetyChecker::operator()().