Color Class Reference
[I/O module]

#include <fssIO.h>

Collaboration diagram for Color:

Collaboration graph
[legend]

List of all members.


Detailed Description

Console output color manipulator.

Attention:
Global variable is used inside this class.

Definition at line 112 of file fssIO.h.


Public Member Functions

 Color (EColor color=C_NO_COLOR)
 Color (const Color &)
 ~Color ()

Static Public Member Functions

static void enable (bool)
 Enable/disable color ouput glaobally.
static bool isEnabled ()

Friends

std::ostream & operator<< (std::ostream &, const Color &)
 This behaves as standard stream manipulators.

Classes

struct  Private

Constructor & Destructor Documentation

Color ( EColor  color = C_NO_COLOR  ) 

Parameters:
color Desired color of console output. If omitted, default color is assumed.

Definition at line 67 of file fssIO.cpp.

References Color::Private::color.

Color ( const Color cObj  ) 

Definition at line 72 of file fssIO.cpp.

References Color::Private::color, and Color::d.

~Color (  ) 

Definition at line 77 of file fssIO.cpp.


Member Function Documentation

void enable ( bool  b  )  [static]

Enable/disable color ouput glaobally.

Attention:
Global variable is used inside this class.

Definition at line 80 of file fssIO.cpp.

bool isEnabled (  )  [static]

Returns:
Returns true if color output is gloablly enabled.

Definition at line 83 of file fssIO.cpp.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const Color  
) [friend]

This behaves as standard stream manipulators.

Definition at line 86 of file fssIO.cpp.


The documentation for this class was generated from the following files:
Generated on Wed Nov 5 22:30:22 2008 for Fast SAT Solver by  doxygen 1.5.4