mockpp::ConstraintHolder< T > Class Template Reference

Proxy class to conveniently move constraints into constraint sets. More...

List of all members.

Public Member Functions

 ConstraintHolder (Constraint< T > *in_constraint)
 Constructs the object.
 ConstraintHolder (const typename TypelessConstraint::AP &in_constraint)
 Constructs the object.
 ConstraintHolder (TypelessConstraint *in_constraint)
 Constructs the object.
 ConstraintHolder (const typename Constraint< T >::AP &in_constraint)
 Constructs the object.
 operator typename Constraint< T >::AP () const
 Returns the constraint object.

Detailed Description

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

Proxy class to conveniently move constraints into constraint sets.

Definition at line 50 of file ConstraintHolder.h.


Constructor & Destructor Documentation

template<typename T>
mockpp::ConstraintHolder< T >::ConstraintHolder ( Constraint< T > *  in_constraint  )  [inline]

Constructs the object.

Parameters:
in_constraint pointer to the constraint

Definition at line 57 of file ConstraintHolder.h.

template<typename T>
mockpp::ConstraintHolder< T >::ConstraintHolder ( const typename TypelessConstraint::AP in_constraint  )  [inline]

Constructs the object.

Parameters:
in_constraint pointer to the typeless constraint

Definition at line 64 of file ConstraintHolder.h.

template<typename T>
mockpp::ConstraintHolder< T >::ConstraintHolder ( TypelessConstraint in_constraint  )  [inline]

Constructs the object.

Parameters:
in_constraint pointer to the typeless constraint

Definition at line 71 of file ConstraintHolder.h.

template<typename T>
mockpp::ConstraintHolder< T >::ConstraintHolder ( const typename Constraint< T >::AP &  in_constraint  )  [inline]

Constructs the object.

Parameters:
in_constraint pointer to the constraint

Definition at line 78 of file ConstraintHolder.h.


Member Function Documentation

template<typename T>
mockpp::ConstraintHolder< T >::operator typename Constraint< T >::AP (  )  const [inline]

Returns the constraint object.

Attention:
After this method is called this object becomes invalid.
Returns:
the costraint object

Definition at line 89 of file ConstraintHolder.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