23 #ifndef MESSAGE_SERVICE_HH 24 #define MESSAGE_SERVICE_HH 131 typedef std::basic_ostream<char, std::char_traits<char> >
CoutType;
158 #define WELCOME_LOG MessageSerivce::getMessageService(MessageSerivce::WELCOME) 159 #define ERROR_LOG MessageSerivce::getMessageService(MessageSerivce::ERROR ) 160 #define INFO_LOG MessageSerivce::getMessageService(MessageSerivce::INFO ) 161 #define VERBOSE_LOG MessageSerivce::getMessageService(MessageSerivce::VERBOSE) 162 #define GOODBYE_LOG MessageSerivce::getMessageService(MessageSerivce::GOODBYE) 164 #define ERROR_COUNT MessageSerivce::getMessageService().printErrorCount(); std::ostream & _stream
the output stream - by default this is std:cout
std::basic_ostream< char, std::char_traits< char > > CoutType
static MessageSerivce * s_messageService
static variable that holds the singleton object
MessageSerivce & operator<<(StandardEndLine manip)
static MessageSerivce & getMessageService()
std::map< ErrorType, TString > _outputHeaders
MessageSerivce & operator<<(const T &v)
CoutType &(* StandardEndLine)(CoutType &)
std::map< ErrorType, bool > _outputOptions
ErrorType
Define the possible error types.