Simple default TestableOutcome derivative class.
More...
#include <aikido/constraint/DefaultTestableOutcome.hpp>
|
bool | isSatisfied () const override |
| Returns whether the isSatisfied method this object was passed to returned true or false. More...
|
|
std::string | toString () const override |
| String representation of isSatisfied return value. More...
|
|
void | setSatisfiedFlag (bool satisfiedFlag) |
| Used by the isSatisfied this outcome object is passed to set whether the constraint was satisifed or not. More...
|
|
virtual | ~TestableOutcome ()=default |
| Destructor. More...
|
|
Simple default TestableOutcome derivative class.
An instance of this class is returned when createOutcome() is called on an instance of a class that inherits Testable, but has no corresponding TestableOutcome derivative implemented.
◆ isSatisfied()
bool aikido::constraint::DefaultTestableOutcome::isSatisfied |
( |
| ) |
const |
|
overridevirtual |
◆ setSatisfiedFlag()
void aikido::constraint::DefaultTestableOutcome::setSatisfiedFlag |
( |
bool |
satisfiedFlag | ) |
|
Used by the isSatisfied this outcome object is passed to set whether the constraint was satisifed or not.
- Parameters
-
[in] | satisfiedFlag | whether the constraint was satisfied or not. |
◆ toString()
std::string aikido::constraint::DefaultTestableOutcome::toString |
( |
| ) |
const |
|
overridevirtual |
◆ mSatisfiedFlag
bool aikido::constraint::DefaultTestableOutcome::mSatisfiedFlag |
|
protected |