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

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

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

List of all members.

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.

Detailed Description

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

Is the value less than another value?

See also:

Definition at line 50 of file IsLessThan.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements mockpp::SelfDescribing.

Definition at line 76 of file IsLessThan.h.

template<typename T >
virtual bool mockpp::IsLessThan< 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 67 of file IsLessThan.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