mockpp::IsNothing Class Reference
[Parameter Constraints]

A constraint which is never true. More...

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

List of all members.

Public Member Functions

 IsNothing ()
 Constructs the object.
 IsNothing (const String &in_description)
 Constructs the object.
virtual ~IsNothing ()
 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 which is never true.

See also:
mockpp::nothing

Definition at line 49 of file IsNothing.h.


Constructor & Destructor Documentation

mockpp::IsNothing::IsNothing ( const String in_description  ) 

Constructs the object.

Parameters:
in_description description of the constraint

Definition at line 49 of file IsNothing.cpp.


Member Function Documentation

String mockpp::IsNothing::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 IsNothing.cpp.

bool mockpp::IsNothing::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 IsNothing.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:07 2010 for mockpp by  doxygen 1.6.1