| 
    Osi
    0.108.6
    
   | 
 
This is a first attempt at a message handler. More...
#include "CoinUtilsConfig.h"#include "CoinPragma.hpp"#include "CoinTypes.hpp"#include <iostream>#include <cstdio>#include <string>#include <vector>
 Include dependency graph for CoinMessageHandler.hpp:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | CoinOneMessage | 
| Class for one massaged message.  More... | |
| class | CoinMessages | 
| Class to hold and manipulate an array of massaged messages.  More... | |
| class | CoinMessageHandler | 
| Base class for message handling.  More... | |
Macros | |
| #define | COIN_NUM_LOG 4 | 
| Log levels will be by type and will then use type given in CoinMessage::class_.  More... | |
| #define | COIN_MESSAGE_HANDLER_MAX_BUFFER_SIZE 1000 | 
| Maximum length of constructed message (characters)  More... | |
Enumerations | |
| enum | CoinMessageMarker { CoinMessageEol = 0, CoinMessageNewline = 1 } | 
Functions | |
| bool | CoinMessageHandlerUnitTest () | 
| A function that tests the methods in the CoinMessageHandler class.  More... | |
This is a first attempt at a message handler.
The COIN Project is in favo(u)r of multi-language support. This implementation of a message handler tries to make it as lightweight as possible in the sense that only a subset of messages need to be defined — the rest default to US English.
The default handler at present just prints to stdout or to a FILE pointer
Definition in file CoinMessageHandler.hpp.
| #define COIN_NUM_LOG 4 | 
Log levels will be by type and will then use type given in CoinMessage::class_.
Definition at line 638 of file CoinMessageHandler.hpp.
| #define COIN_MESSAGE_HANDLER_MAX_BUFFER_SIZE 1000 | 
Maximum length of constructed message (characters)
Definition at line 640 of file CoinMessageHandler.hpp.
| enum CoinMessageMarker | 
| Enumerator | |
|---|---|
| CoinMessageEol | |
| CoinMessageNewline | |
Definition at line 235 of file CoinMessageHandler.hpp.
| bool CoinMessageHandlerUnitTest | ( | ) | 
A function that tests the methods in the CoinMessageHandler class.
The only reason for it not to be a member method is that this way it doesn't have to be compiled into the library. And that's a gain, because the library should be compiled with optimization on, but this method should be compiled with debugging.
 1.8.5