mockpp::IsAnything Class Reference
[Parameter Constraints]

A constraint that always returns true. More...

Inheritance diagram for mockpp::IsAnything:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 IsAnything ()
 Constructs the object.
 IsAnything (const String &in_description)
 Constructs the object by name.
virtual ~IsAnything ()
 Destroys the object.
virtual bool typelessEval () const
 Evaluates the constraint.
virtual String describeTo (String &buffer) const
 Appends the description of this object to the buffer.

Detailed Description

A constraint that always returns true.

See also:
mockpp::any

Definition at line 49 of file IsAnything.h.


Member Function Documentation

String mockpp::IsAnything::describeTo ( String buffer  )  const [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 66 of file IsAnything.cpp.

bool mockpp::IsAnything::typelessEval (  )  const [virtual]

Evaluates the constraint.

Returns:
true: the object meets the constraint,
false if it does not.

Implements mockpp::TypelessConstraint.

Definition at line 60 of file IsAnything.cpp.


The documentation for this class was generated from the following files:
 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