UnCoVer (Using Coverability for Verification)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
DelayedLogMessage.h
1 /***************************************************************************
2  * Copyright (C) 2014 by Jan Stückrath <jan.stueckrath@uni-due.de> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program; if not, write to the *
16  * Free Software Foundation, Inc., *
17  * 51 Franklin St, Fifth Floor, Boston, MA 02110, USA *
18  ***************************************************************************/
19 
20 #ifndef DELAYEDLOGMESSAGE_H_
21 #define DELAYEDLOGMESSAGE_H_
22 
23 #include "message_logging.h"
24 
25 namespace uncover {
26  namespace logging {
27 
33  {
34 
35  public:
36 
43 
48 
49  private:
50 
55 
59  string message;
60 
61  };
62 
63  } /* namespace logging */
64 } /* namespace uncover */
65 
66 #endif /* DELAYEDLOGMESSAGE_H_ */
~DelayedLogMessage()
Destroys this DelayedLogMessage, immediately printing its stored message.
Definition: DelayedLogMessage.cpp:27
LogTypes
LogTypes defines all types of log-messages usable with a messageLogger stream.
Definition: globals.h:65
string message
Stores the content of this DelayedLogMessage.
Definition: DelayedLogMessage.h:59
This class stores a log message and sends it at the end of the scope in which it was defined...
Definition: DelayedLogMessage.h:32
DelayedLogMessage(LogTypes logType, string message)
Creates a new DelayedLogMessage of the given type and with the given content.
Definition: DelayedLogMessage.cpp:25
LogTypes logType
Stores the log type of this DelayedLogMessage.
Definition: DelayedLogMessage.h:54