11 #ifndef ClassStMessage
12 #define ClassStMessage
22 kMessOptO = (1U << 1),
23 kMessOptE = (1U << 2),
24 kMessOptT = (1U << 3),
25 kMessOptS = (1U << 4),
34 static void IgnoreRepeats() { repeats=0; }
35 static void AllowRepeats() { repeats=1; }
47 StMessage(
const char* mess=
"",
const char* ty=
"I",
const char* opt=
"O");
51 int Print(
int nChars=-1);
52 time_t& GetTime() {
return messTime;}
53 const char* GetType()
const {
return type;}
54 char* GetMessage()
const {
return message;}
55 unsigned int GetOption()
const {
return option;}
56 char* GetOptions()
const;
57 void SetOptions(
const char* opt);
58 size_t GetMemoryUsage();