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 }
void printYellow(std::string text)
Definition: Util.cpp:33
void printRed(std::string text)
Definition: Util.cpp:25
#define DEFAULT
Definition: Util.cpp:23
void printBlue(std::string text)
Definition: Util.cpp:37
void printGreen(std::string text)
Definition: Util.cpp:29
this namespace contains all generally usable classes.


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