Main Page | Class Hierarchy | Class List | File List | Class Members

Value Class Reference

#include <Value.h>

Inheritance diagram for Value:

Double Float Int Long List of all members.

Public Member Functions

 Value (const int v, const double weight)
 Value (const Value &v)
double weight () const
Valueoperator= (const Value &v)
 Value ()
 Constructor.
virtual ~Value ()
 Destructor.
 Value (const Value &)
 Copy constructor.
Valueoperator= (const Value &)
 Assignment operator.
void setId (id_t id)
 Set the value's id.
id_t id () const
 Return the value's id.
ulonglong failures () const
void incrementFailures ()
 Increment the value's number of failures.
virtual wostream & print (wostream &wos) const
 Print the value at the given stream.

Friends

CSP_API wostream & operator<< (wostream &wos, const Value &value)
 Output operator.

Detailed Description

The super class of all the CSP values.


Member Function Documentation

ulonglong Value::failures  )  const [inline]
 

Return the number of consistency failures this value was involved in.


The documentation for this class was generated from the following files:
Generated on Wed May 25 12:21:22 2005 for csp.kdevelop by  doxygen 1.3.9.1