2 #ifndef GAUDIKERNEL_MESSAGE_H
3 #define GAUDIKERNEL_MESSAGE_H
24 Message (
const std::string& src,
int type,
const std::string& msg );
30 const std::string& getMessage()
const;
33 void setMessage(
const std::string& msg );
39 void setType(
int msg_type );
42 const std::string& getSource()
const;
45 void setSource(
const std::string& src );
48 const std::string& getFormat()
const;
51 static const std::string getDefaultFormat();
54 void setFormat(
const std::string& msg )
const;
57 const std::string& getTimeFormat()
const;
60 static const std::string getDefaultTimeFormat() ;
63 void setTimeFormat(
const std::string& timeFormat )
const;
76 void invalidFormat()
const;
79 void makeFormattedMsg(
const std::string&
format )
const;
82 void decodeFormat(
const std::string&
format )
const;
85 void sizeField(
const std::string& text )
const;
88 void setWidth(
const std::string& formatArg )
const;