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

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

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

List of all members.

Public Member Functions

 IsGreaterThan (const T &greater)
 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::IsGreaterThan< T >

Is the value greater than another value?

See also:
mockpp::gt

Definition at line 51 of file IsGreaterThan.h.


Constructor & Destructor Documentation

template<typename T >
mockpp::IsGreaterThan< T >::IsGreaterThan ( const T &  greater  )  [inline]

Constructs the object.

Parameters:
greater the value for the comparison

Definition at line 58 of file IsGreaterThan.h.


Member Function Documentation

template<typename T >
virtual String mockpp::IsGreaterThan< 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 77 of file IsGreaterThan.h.

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