Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
utility
Util.cpp
Go to the documentation of this file.
1
18
#include "
Util.hpp
"
19
#include <iostream>
20
21
namespace
ISM
22
{
23
#define DEFAULT "\033[0m"
24
25
void
printRed
(std::string text)
26
{
27
std::cout<<
"\033[31m"
<<text<<
DEFAULT
;
28
}
29
void
printGreen
(std::string text)
30
{
31
std::cout<<
"\033[32m"
<<text<<
DEFAULT
;
32
}
33
void
printYellow
(std::string text)
34
{
35
std::cout<<
"\033[33m"
<<text<<
DEFAULT
;
36
}
37
void
printBlue
(std::string text)
38
{
39
std::cout<<
"\033[34;1m"
<<text<<
DEFAULT
;
40
}
41
}
ISM::printYellow
void printYellow(std::string text)
Definition:
Util.cpp:33
ISM::printRed
void printRed(std::string text)
Definition:
Util.cpp:25
DEFAULT
#define DEFAULT
Definition:
Util.cpp:23
ISM::printBlue
void printBlue(std::string text)
Definition:
Util.cpp:37
Util.hpp
ISM::printGreen
void printGreen(std::string text)
Definition:
Util.cpp:29
ISM
this namespace contains all generally usable classes.
Definition:
AcceptanceFunction.hpp:22
asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41