Is the value less than another value? More...
Public Member Functions | |
IsLessThan (const T &less) | |
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 less than another value?
Definition at line 50 of file IsLessThan.h.
mockpp::IsLessThan< T >::IsLessThan | ( | const T & | less | ) | [inline] |
Constructs the object.
less | the value for the comparison |
Definition at line 57 of file IsLessThan.h.
virtual String mockpp::IsLessThan< 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 76 of file IsLessThan.h.
virtual bool mockpp::IsLessThan< 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 67 of file IsLessThan.h.