mockpp::IsLessOrEqual< T > Class Template Reference
[Parameter Constraints]

Is the value less or equal than another value? More...

Inheritance diagram for mockpp::IsLessOrEqual< T >:
Inheritance graph

List of all members.

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.

Detailed Description

template<typename T>
class mockpp::IsLessOrEqual< T >

Is the value less or equal than another value?

See also:

Definition at line 47 of file IsLessOrEqual.h.

Constructor & Destructor Documentation

template<typename T >
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.

Member Function Documentation

template<typename T >
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.
The current content of the buffer data

Implements mockpp::SelfDescribing.

Definition at line 73 of file IsLessOrEqual.h.

template<typename T >
virtual bool mockpp::IsLessOrEqual< T >::eval ( const T &  arg  )  const [inline, virtual]

Evaluates the constraint.

arg the object against which the constraint is evaluated.
true: arg meets the constraint,
false if it does not.

Implements mockpp::Constraint< T >.

Definition at line 64 of file IsLessOrEqual.h.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on Tue Jan 5 09:49:06 2010 for mockpp by  doxygen 1.6.1