CMS 3D CMS Logo

Message Class Reference

#include <DQM/TrackerCommon/interface/MessageDispatcher.h>

List of all members.

Public Member Functions

std::string getText ()
std::string getText ()
std::string getTitle ()
std::string getTitle ()
std::string getType ()
std::string getType ()
 Message (std::string the_title, std::string the_text, MessageType the_type)
 Message (std::string the_title, std::string the_text, MessageType the_type)

Private Attributes

std::string text
std::string title
MessageType type


Detailed Description

Definition at line 14 of file MessageDispatcher.h.


Constructor & Destructor Documentation

Message::Message ( std::string  the_title,
std::string  the_text,
MessageType  the_type 
) [inline]

Definition at line 25 of file MessageDispatcher.h.

References text, and title.

00026     {
00027       type = the_type;
00028       title = the_title;
00029       text = the_text;
00030     }

Message::Message ( std::string  the_title,
std::string  the_text,
MessageType  the_type 
) [inline]

Definition at line 25 of file MessageDispatcher.h.

References text, and title.

00026     {
00027       type = the_type;
00028       title = the_title;
00029       text = the_text;
00030     }


Member Function Documentation

std::string Message::getText (  )  [inline]

Definition at line 33 of file MessageDispatcher.h.

References text.

00033 { return text; }

std::string Message::getText (  )  [inline]

Definition at line 33 of file MessageDispatcher.h.

References text.

00033 { return text; }

std::string Message::getTitle ( void   )  [inline]

Definition at line 32 of file MessageDispatcher.h.

References title.

00032 { return title; }

std::string Message::getTitle (  )  [inline]

Definition at line 32 of file MessageDispatcher.h.

References title.

00032 { return title; }

std::string Message::getType (  ) 

std::string Message::getType (  ) 

Definition at line 4 of file MessageDispatcher.cc.

References info, and warning.

00005 { 
00006   if (type == info) { return "INFO"; } 
00007   else if (type == warning) { return "WARNING"; } 
00008   else { return "ERROR"; } 
00009 }


Member Data Documentation

std::string Message::text [private]

Definition at line 20 of file MessageDispatcher.h.

Referenced by getText(), and Message().

std::string Message::title [private]

Definition at line 19 of file MessageDispatcher.h.

Referenced by getTitle(), and Message().

MessageType Message::type [private]

Definition at line 21 of file MessageDispatcher.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:28:14 2009 for CMSSW by  doxygen 1.5.4