|
LSLOpt
1.0
|
Class for the output to an std::ostream.
More...
#include <OutputUtils.hpp>
Public Member Functions | |
| OstreamOutput (OutputLevel output_level, std::ostream &os) | |
| Construct OstreamOutput. More... | |
| OstreamOutput & | operator<< (const OutputLevel &level) |
| Set and output the level. More... | |
| template<typename T > | |
| OstreamOutput & | operator<< (const T &t) |
| Output variable to the output stream. More... | |
Public Attributes | |
| OutputLevel | output_level |
| The current output level. | |
Class for the output to an std::ostream.
The output level can be set, i.e. it can be specified which messages are to be shown.
|
inline |
Construct OstreamOutput.
| output_level | Level where output is starting. |
| os | The std::ostream. |
|
inline |
Set and output the level.
| level | The output to set and output. |
|
inline |
Output variable to the output stream.
| t | The variable to output. |
Using this function any type can be output that can be written to an std::ostream.
1.8.13