#include <verifier.hh>
Inheritance diagram for mpcl::invariant::IVerifier< TParameter >:
Public Methods | |
IVerifier (int iDEFAULT_CONFORMANCE_LEVEL) | |
virtual | ~IVerifier (void) |
Destroyes the instance. | |
void | addInvariant (long int liINVARIANT_IDENTIFIER, int iCONFORMANCE_LEVEL, const char *pkcMESSAGE) |
void | addInvariant (long int liINVARIANT_IDENTIFIER, const char *pkcMESSAGE) |
void | addConformanceLevel (int iCONFORMANCE_LEVEL) |
void | removeConformanceLevel (int iCONFORMANCE_LEVEL) |
void | clearConformanceLevelSet (void) |
Empties conformance level set. | |
void | resetConformanceLevelSet (void) |
Sets default conformance level. | |
void | require (long int liINVARIANT_IDENTIFIER...) const |
void | requireList (long int liINVARIANT_IDENTIFIER, va_list tVA_LIST) const |
virtual bool | verify (long int liINVARIANT_IDENTIFIER) const=0 |
Public Attributes | |
TMap< long int, TInvariant > | tInvariantMap |
TVariableArgumentArray< TParameter > | tArgumentArray |
TConformanceLevelSet | tConformanceLevelSet |
Protected Attributes | |
int | iDefaultConformanceLevel |
Integer with default conformance level. |
Definition at line 55 of file verifier.hh.
|
Builds a new instance.
Definition at line 128 of file verifier.hh. |
|
Activates a new conformance level.
Definition at line 166 of file verifier.hh. |
|
Adds a new invariant.
Definition at line 156 of file verifier.hh. |
|
Adds a new invariant.
Definition at line 143 of file verifier.hh. |
|
Deactivates a conformance level.
Definition at line 178 of file verifier.hh. |
|
Verifies that invariant corresponding to liINVARIANT_IDENTIFIER, is true. If not, then throws the corresponding exception.
Definition at line 214 of file verifier.hh. |
|
Verifies that invariant corresponding to liINVARIANT_IDENTIFIER, is true. If not, then throws the corresponding exception.
Definition at line 229 of file verifier.hh. Referenced by mpcl::invariant::IVerifier< int >::require(), and mpcl::invariant::IVerifier< int >::requireList(). |
|
Verifies that the invariant corresponding to liINVARIANT_IDENTIFIER, is true.
|
|
Handler for variable size list of arguments.
Definition at line 109 of file verifier.hh. Referenced by mpcl::invariant::IVerifier< int >::IVerifier(), and mpcl::invariant::IVerifier< int >::requireList(). |
|
Set with conformance identifiers.
Definition at line 115 of file verifier.hh. Referenced by mpcl::invariant::IVerifier< int >::addConformanceLevel(), mpcl::invariant::IVerifier< int >::clearConformanceLevelSet(), mpcl::invariant::IVerifier< int >::IVerifier(), mpcl::invariant::IVerifier< int >::removeConformanceLevel(), mpcl::invariant::IVerifier< int >::requireList(), and mpcl::invariant::IVerifier< int >::resetConformanceLevelSet(). |
|
Map with restrictions.
Definition at line 103 of file verifier.hh. Referenced by mpcl::invariant::IVerifier< int >::addInvariant(), mpcl::invariant::IVerifier< int >::IVerifier(), and mpcl::invariant::IVerifier< int >::requireList(). |