Alert Class Reference

#include <Alert.h>

List of all members.

Public Types

 MODE_ERR
 MODE_WARN
 MODE_MSG
enum  Mode_t { MODE_ERR, MODE_WARN, MODE_MSG }

Public Member Functions

 Alert ()
virtual ~Alert ()
virtual void display ()

Protected Attributes

std::string msg
Mode_t mode

Friends

Alertoperator<< (Alert &a, const std::string &s)
Alertoperator<< (Alert &a, ERROR)
Alertoperator<< (Alert &a, WARNING)
Alertoperator<< (Alert &a, MESSAGE)

Classes

struct  ERROR
struct  MESSAGE
struct  SHOW
struct  WARNING


Member Enumeration Documentation

enum Alert::Mode_t

Enumerator:
MODE_ERR 
MODE_WARN 
MODE_MSG 


Constructor & Destructor Documentation

Alert::Alert (  )  [inline]

virtual Alert::~Alert (  )  [inline, virtual]


Member Function Documentation

virtual void Alert::display (  )  [virtual]


Friends And Related Function Documentation

Alert& operator<< ( Alert a,
Alert::MESSAGE   
) [friend]

Alert& operator<< ( Alert a,
Alert::WARNING   
) [friend]

Alert& operator<< ( Alert a,
Alert::ERROR   
) [friend]

Alert& operator<< ( Alert a,
const std::string &  s 
) [friend]


Member Data Documentation

Mode_t Alert::mode [protected]

std::string Alert::msg [protected]


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 15:33:26 2007 for MetalWarriors by  doxygen 1.4.7