Is the value less or equal than another value? More...
Public Member Functions | |
IsLessOrEqual (const T &less_eq) | |
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 or equal than another value?
Definition at line 47 of file IsLessOrEqual.h.
mockpp::IsLessOrEqual< T >::IsLessOrEqual | ( | const T & | less_eq | ) | [inline] |
Constructs the object.
less_eq | the value for the comparison |
Definition at line 54 of file IsLessOrEqual.h.
virtual String mockpp::IsLessOrEqual< 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 73 of file IsLessOrEqual.h.
virtual bool mockpp::IsLessOrEqual< 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 64 of file IsLessOrEqual.h.