Calculates the logical negation of a constraint. More...
Public Member Functions | |
IsNot (const ConstraintHolder< T > &in_constraint) | |
Constructs the object. | |
virtual | ~IsNot () |
Destroys the object. | |
virtual bool | eval (const T &arg) const |
Evaluates the constraint. | |
virtual bool | verify (const T &arg) const |
Evaluates the constraint at the end. | |
virtual String | describeTo (String &buffer) const |
Appends the description of this object to the buffer. |
Calculates the logical negation of a constraint.
Definition at line 50 of file IsNot.h.
mockpp::IsNot< T >::IsNot | ( | const ConstraintHolder< T > & | in_constraint | ) | [inline] |
virtual String mockpp::IsNot< T >::describeTo | ( | String & | buffer | ) | const [inline, virtual] |
Appends the description of this object to the buffer.
buffer | The buffer that the description is appended to. |
Implements mockpp::SelfDescribing.
virtual bool mockpp::IsNot< T >::eval | ( | const T & | arg | ) | const [inline, virtual] |
Evaluates the constraint.
arg | the object against which the constraint is evaluated. |
Implements mockpp::Constraint< T >.
virtual bool mockpp::IsNot< T >::verify | ( | const T & | arg | ) | const [inline, virtual] |
Evaluates the constraint at the end.
arg | the object against which the constraint is evaluated. |
Reimplemented from mockpp::Constraint< T >.