Basic info functions.
More...
#include <Basics.hpp>
|
| static void | Comment (std::string text) |
| | Display commented line. More...
|
| |
| template<class T1 , class T2 > |
| static void | Comment (T1 key, T2 value) |
| | Comment for displaying map item. More...
|
| |
| static void | LogComment (std::string text, std::string color) |
| | Colored comment to std::clog with current program time. More...
|
| |
| static void | LogBegining (std::string text) |
| | LogComment with red color. More...
|
| |
| static void | LogAccomplished (std::string text="... done") |
| | LogComment with green color. More...
|
| |
| static void | Warning (std::string text, std::string note="") |
| | Warning sent to std::cout. More...
|
| |
| static void | Title (std::string title) |
| | Display title and Line. More...
|
| |
| static void | Line (int n=40) |
| | Display line of n char (default char '=') More...
|
| |
|
| static const std::string | comment {"# "} |
| | standard comment string (default: #) More...
|
| |
◆ Comment() [1/2]
| static void BasicsInfo::Comment |
( |
std::string |
text | ) |
|
|
inlinestatic |
Display commented line.
- Parameters
-
◆ Comment() [2/2]
template<class T1 , class T2 >
| static void BasicsInfo::Comment |
( |
T1 |
key, |
|
|
T2 |
value |
|
) |
| |
|
inlinestatic |
Comment for displaying map item.
- Template Parameters
-
| T1 | type of key |
| T2 | type of value |
- Parameters
-
| key | item key |
| value | item value |
◆ Line()
| static void BasicsInfo::Line |
( |
int |
n = 40 | ) |
|
|
inlinestatic |
Display line of n char (default char '=')
- Parameters
-
◆ LogAccomplished()
| static void BasicsInfo::LogAccomplished |
( |
std::string |
text = "... done" | ) |
|
|
inlinestatic |
LogComment with green color.
- Parameters
-
◆ LogBegining()
| static void BasicsInfo::LogBegining |
( |
std::string |
text | ) |
|
|
inlinestatic |
LogComment with red color.
- Parameters
-
◆ LogComment()
| static void BasicsInfo::LogComment |
( |
std::string |
text, |
|
|
std::string |
color |
|
) |
| |
|
inlinestatic |
Colored comment to std::clog with current program time.
- Parameters
-
| text | text to log |
| color | color of the text |
◆ Title()
| static void BasicsInfo::Title |
( |
std::string |
title | ) |
|
|
inlinestatic |
Display title and Line.
- Parameters
-
◆ Warning()
| static void BasicsInfo::Warning |
( |
std::string |
text, |
|
|
std::string |
note = "" |
|
) |
| |
|
inlinestatic |
Warning sent to std::cout.
- Parameters
-
| text | text to display (with red color) |
| note | note (with white color) |
◆ comment
| const std::string BasicsInfo::comment {"# "} |
|
staticprotected |
standard comment string (default: #)
◆ verbose
| bool BasicsInfo::verbose {false} |
|
static |
The documentation for this class was generated from the following file: