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

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

Inheritance diagram for mockpp::IsGreaterOrEqual< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 IsGreaterOrEqual (const T &lower)
 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::IsGreaterOrEqual< T >

Is the value greater or equal than another value?

See also:
mockpp::ge

Definition at line 47 of file IsGreaterOrEqual.h.


Constructor & Destructor Documentation

template<typename T >
mockpp::IsGreaterOrEqual< T >::IsGreaterOrEqual ( const T &  lower  )  [inline]

Constructs the object.

Parameters:
lower the value for the comparison

Definition at line 54 of file IsGreaterOrEqual.h.


Member Function Documentation

template<typename T >
virtual String mockpp::IsGreaterOrEqual< T >::describeTo ( String buffer  )  const [inline, virtual]

Appends the description of this object to the buffer.

Parameters:
buffer The buffer that the description is appended to.
Returns:
The current content of the buffer data

Implements mockpp::SelfDescribing.

Definition at line 73 of file IsGreaterOrEqual.h.

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

Evaluates the constraint.

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

Implements mockpp::Constraint< T >.

Definition at line 64 of file IsGreaterOrEqual.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