mockpp::Constraint< T > Class Template Reference

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

List of all members.

Public Types

typedef AutoPointer
< Constraint< T > > 
AP
 internal shorthand

Public Member Functions

virtual ~Constraint ()
 Destroys the object.
virtual bool eval (const T &arg) const =0
 Evaluates the constraint.
virtual bool verify (const T &arg) const
 Evaluates the constraint at the end.

Detailed Description

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

Definition at line 53 of file Constraint.h.


Member Function Documentation

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

Evaluates the constraint at the end.

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

Reimplemented in mockpp::And< T >, mockpp::IsNot< T >, mockpp::Or< T >, mockpp::OutBound< T >, and mockpp::TriggeredOutbound< T >.

Definition at line 76 of file Constraint.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