Is the value greater than another value? More...
Public Member Functions | |
IsGreaterThan (const T &greater) | |
Constructs the object. | |
virtual bool | eval (const T &arg) const |
Evaluates the constraint. | |
virtual String | describeTo (String &buffer) const |
Appends the description of this object to the buffer. |
Is the value greater than another value?
Definition at line 51 of file IsGreaterThan.h.
mockpp::IsGreaterThan< T >::IsGreaterThan | ( | const T & | greater | ) | [inline] |
Constructs the object.
greater | the value for the comparison |
Definition at line 58 of file IsGreaterThan.h.
virtual String mockpp::IsGreaterThan< 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.
Definition at line 77 of file IsGreaterThan.h.
virtual bool mockpp::IsGreaterThan< T >::eval | ( | const T & | arg | ) | const [inline, virtual] |
Evaluates the constraint.
arg | the object against which the constraint is evaluated. |
Implements mockpp::Constraint< T >.
Definition at line 68 of file IsGreaterThan.h.