|
static TString | GetDisableColor () |
|
static TString | GetColor (Color_t Color) |
|
static Cout * | Instance () |
|
static void | SetLineLenght (Int_t lenght) |
|
static void | SetVerboseMode (Hal::EInfo verbose) |
|
static void | Database (Int_t no...) |
|
static void | Database (std::initializer_list< TString > list) |
|
static void | Database (const std::vector< TString > &list) |
|
static void | ShiftDatabase (Int_t shift, Int_t no...) |
|
static void | InStars (TString text, Color_t color=-1) |
|
static void | ShiftInStars (Int_t shift, TString text, Color_t color=-1) |
|
static void | Text (TString text, TString option="L", Color_t color=-1) |
|
static void | Stars (Color_t color=-1) |
|
static void | ShiftText (Int_t shift, TString text, TString option, Color_t color=-1) |
|
static void | Empty (Color_t color=-1) |
|
static void | Percent (Double_t actual, Double_t total) |
|
static void | ProgressBar (Double_t acutal, Double_t total) |
|
static void | PrintInfo (TString text, Hal::EInfo status) |
|
static void | FailSucced (TString value, TString flag, Color_t color) |
|
static void | DebugInfo (Int_t i) |
|
static void | DebugInfo (TString file, Int_t i) |
|
static Hal::EInfo | GetVerboseMode () |
|
static void | PrintLineFileInfo (TString file, Int_t line, TString text, Hal::EInfo flag=Hal::EInfo::kDebugInfo) |
|
Definition at line 21 of file Cout.h.
◆ Cout()
◆ ~Cout()
◆ Database() [1/3]
void Hal::Cout::Database |
( |
const std::vector< TString > & | list | ) |
|
|
static |
print strings in database format
- Parameters
-
Definition at line 54 of file Cout.cxx.
◆ Database() [2/3]
static void Hal::Cout::Database |
( |
Int_t | no... | ) |
|
|
static |
print strings in database format
- Parameters
-
◆ Database() [3/3]
void Hal::Cout::Database |
( |
std::initializer_list< TString > | list | ) |
|
|
static |
print strings in database format
- Parameters
-
Definition at line 49 of file Cout.cxx.
◆ DebugInfo() [1/2]
void Hal::Cout::DebugInfo |
( |
Int_t | i | ) |
|
|
static |
print number if violet color
- Parameters
-
Definition at line 249 of file Cout.cxx.
◆ DebugInfo() [2/2]
void Hal::Cout::DebugInfo |
( |
TString | file, |
|
|
Int_t | i ) |
|
static |
print number if violet color
- Parameters
-
file | - name of the file (use FILE) |
i | value (LINE) |
Definition at line 255 of file Cout.cxx.
◆ Empty()
void Hal::Cout::Empty |
( |
Color_t | color = -1 | ) |
|
|
static |
print "empty" line
- Parameters
-
Definition at line 207 of file Cout.cxx.
◆ FailSucced()
void Hal::Cout::FailSucced |
( |
TString | value, |
|
|
TString | flag, |
|
|
Color_t | color ) |
|
static |
print line "fail/succeed"
- Parameters
-
value | desrcription of problem |
flag | status of proglem |
color | color of status (description is in white) |
Definition at line 382 of file Cout.cxx.
◆ GetColor()
TString Hal::Cout::GetColor |
( |
Color_t | Color | ) |
|
|
static |
- Parameters
-
- Returns
- flag to enable given color in linux
Definition at line 268 of file Cout.cxx.
◆ GetDisableColor()
TString Hal::Cout::GetDisableColor |
( |
| ) |
|
|
static |
return flag for disabling color in linux
- Returns
Definition at line 261 of file Cout.cxx.
◆ GetVerboseMode()
static Hal::EInfo Hal::Cout::GetVerboseMode |
( |
| ) |
|
|
inlinestatic |
- Returns
- verbolse mode
Definition at line 165 of file Cout.h.
◆ Instance()
Cout * Hal::Cout::Instance |
( |
| ) |
|
|
static |
- Returns
- instance of this class
Definition at line 400 of file Cout.cxx.
◆ InStars()
void Hal::Cout::InStars |
( |
TString | text, |
|
|
Color_t | color = -1 ) |
|
static |
print text in stars
- Parameters
-
text | text to print |
color | color of text (one of : kGray, kOrange, kYellow, kBlue, kCyan,kWhite, kGreen, kViolet) |
Definition at line 77 of file Cout.cxx.
◆ Percent()
void Hal::Cout::Percent |
( |
Double_t | actual, |
|
|
Double_t | total ) |
|
static |
print percentage value by taking two parameters
- Parameters
-
actual | actual value |
total | total value |
Definition at line 219 of file Cout.cxx.
◆ PrintInfo()
void Hal::Cout::PrintInfo |
( |
TString | text, |
|
|
Hal::EInfo | status ) |
|
static |
print info, basic method for printing info in code, use verbose value to remove texts with low prioryty
- Parameters
-
text | text |
status | statsu of text |
Definition at line 370 of file Cout.cxx.
◆ PrintLineFileInfo()
void Hal::Cout::PrintLineFileInfo |
( |
TString | file, |
|
|
Int_t | line, |
|
|
TString | text, |
|
|
Hal::EInfo | flag = Hal::EInfo::kDebugInfo ) |
|
static |
used by macro HalCoutDebug2
- Parameters
-
Definition at line 407 of file Cout.cxx.
◆ ProgressBar()
void Hal::Cout::ProgressBar |
( |
Double_t | acutal, |
|
|
Double_t | total ) |
|
static |
print progress bar
- Parameters
-
acutal | actual progress |
total | total progress |
Definition at line 229 of file Cout.cxx.
◆ SetLineLenght()
static void Hal::Cout::SetLineLenght |
( |
Int_t | lenght | ) |
|
|
inlinestatic |
- Parameters
-
Definition at line 54 of file Cout.h.
◆ SetVerboseMode()
void Hal::Cout::SetVerboseMode |
( |
Hal::EInfo | verbose | ) |
|
|
static |
set verbose mode
- Parameters
-
Definition at line 368 of file Cout.cxx.
◆ ShiftDatabase()
void Hal::Cout::ShiftDatabase |
( |
Int_t | shift, |
|
|
Int_t | no... ) |
|
static |
print shifted database
- Parameters
-
shift | number of empty places |
no | number of columns |
Definition at line 317 of file Cout.cxx.
◆ ShiftInStars()
void Hal::Cout::ShiftInStars |
( |
Int_t | shift, |
|
|
TString | text, |
|
|
Color_t | color = -1 ) |
|
static |
print shifted text in stars
- Parameters
-
shift | number of spaces used for shift |
text | text |
color | color |
Definition at line 355 of file Cout.cxx.
◆ ShiftText()
void Hal::Cout::ShiftText |
( |
Int_t | shift, |
|
|
TString | text, |
|
|
TString | option, |
|
|
Color_t | color = -1 ) |
|
static |
print shifted text
- Parameters
-
shift | number of spaces |
text | text |
option | "L" -alight to left "M" - align to center, "R" - align to right |
color | color |
Definition at line 350 of file Cout.cxx.
◆ Stars()
void Hal::Cout::Stars |
( |
Color_t | color = -1 | ) |
|
|
static |
print stars line
- Parameters
-
Definition at line 150 of file Cout.cxx.
◆ Text()
void Hal::Cout::Text |
( |
TString | text, |
|
|
TString | option = "L", |
|
|
Color_t | color = -1 ) |
|
static |
print formatted text
- Parameters
-
text | text |
option | "L" -alight to left "M" - align to center, "R" - align to right |
color | color |
Definition at line 92 of file Cout.cxx.
The documentation for this class was generated from the following files: