#include <TEcnaParCout.h>
Public Member Functions | |
Int_t | GetCodePrint (const TString) |
void | Init () |
TEcnaParCout () | |
virtual | ~TEcnaParCout () |
Public Attributes | |
Int_t | fCodePrintAllComments |
Int_t | fCodePrintComments |
Int_t | fCodePrintNoComment |
Int_t | fCodePrintWarnings |
Int_t | fFlagPrint |
Private Attributes | |
Int_t | fCdelete |
Int_t | fCnaCommand |
Int_t | fCnaError |
Int_t | fCnew |
Int_t | fgMaxCar |
TString | fTTBELL |
Definition at line 18 of file TEcnaParCout.h.
TEcnaParCout::TEcnaParCout | ( | ) |
Definition at line 44 of file TEcnaParCout.cc.
References Init().
{ // Constructor without argument // cout << "[Info Management] CLASS: TEcnaParCout. CREATE OBJECT: this = " << this << endl; Init(); }
virtual TEcnaParCout::~TEcnaParCout | ( | ) | [virtual] |
Int_t TEcnaParCout::GetCodePrint | ( | const TString | chcode | ) |
Definition at line 77 of file TEcnaParCout.cc.
Referenced by TEcnaRun::Init(), TEcnaWrite::Init(), TEcnaRead::Init(), and Init().
{ //Get the CodePrint values Int_t code_print = 101; // => default value: print warnings // The values must be different if( chcode == "NoComment" ){code_print = 100;} if( chcode == "Warnings" ){code_print = 101;} // => default value if( chcode == "Comments" ){code_print = 102;} if( chcode == "AllComments" ){code_print = 103;} return code_print; }
void TEcnaParCout::Init | ( | void | ) |
Definition at line 53 of file TEcnaParCout.cc.
References fCnaCommand, fCnaError, fCodePrintAllComments, fCodePrintComments, fCodePrintNoComment, fCodePrintWarnings, fFlagPrint, fgMaxCar, fTTBELL, and GetCodePrint().
Referenced by TEcnaParCout().
{ fgMaxCar = (Int_t)512; // max number of characters in TStrings fTTBELL = '\007'; //................................................... Code Print fCodePrintNoComment = GetCodePrint("NoComment"); fCodePrintWarnings = GetCodePrint("Warnings "); // => default value fCodePrintComments = GetCodePrint("Comments"); fCodePrintAllComments = GetCodePrint("AllComments"); fFlagPrint = fCodePrintWarnings; //................ Init CNA Command and error numbering fCnaCommand = 0; fCnaError = 0; }// end of Init()
Int_t TEcnaParCout::fCdelete [private] |
Definition at line 28 of file TEcnaParCout.h.
Int_t TEcnaParCout::fCnaCommand [private] |
Definition at line 32 of file TEcnaParCout.h.
Referenced by Init().
Int_t TEcnaParCout::fCnaError [private] |
Definition at line 32 of file TEcnaParCout.h.
Referenced by Init().
Int_t TEcnaParCout::fCnew [private] |
Definition at line 28 of file TEcnaParCout.h.
Definition at line 41 of file TEcnaParCout.h.
Referenced by Init().
Definition at line 41 of file TEcnaParCout.h.
Referenced by Init().
Definition at line 41 of file TEcnaParCout.h.
Referenced by Init().
Definition at line 41 of file TEcnaParCout.h.
Referenced by Init().
Int_t TEcnaParCout::fFlagPrint |
Definition at line 40 of file TEcnaParCout.h.
Referenced by Init().
Int_t TEcnaParCout::fgMaxCar [private] |
Definition at line 26 of file TEcnaParCout.h.
Referenced by Init().
TString TEcnaParCout::fTTBELL [private] |
Definition at line 30 of file TEcnaParCout.h.
Referenced by Init().