ROOT » TMVA » TMVA::MsgLogger

class TMVA::MsgLogger: public basic_ostringstream<char,char_traits<char>,allocator<char> >, public TObject

Function Members (Methods)

public:
virtual~MsgLogger()
const locale&ios_base::_M_getloc() const
voidbasic_ios<char,char_traits<char> >::_M_setstate(ios_base::iostate __state)
voidbasic_ostream<char,char_traits<char> >::_M_write(const basic_ostream<char,char_traits<char> >::char_type* __s, streamsize __n)
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
boolbasic_ios<char,char_traits<char> >::bad() const
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
voidbasic_ios<char,char_traits<char> >::clear(ios_base::iostate __state = goodbit)
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
basic_ios<char,char_traits<char> >&basic_ios<char,char_traits<char> >::copyfmt(const basic_ios<char,char_traits<char> >& __rhs)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
static voidEnableOutput()
static TMVA::MsgLogger&Endmsg(TMVA::MsgLogger& logger)
boolbasic_ios<char,char_traits<char> >::eof() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
ios_base::iostatebasic_ios<char,char_traits<char> >::exceptions() const
voidbasic_ios<char,char_traits<char> >::exceptions(ios_base::iostate __except)
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
boolbasic_ios<char,char_traits<char> >::fail() const
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
basic_ios<char,char_traits<char> >::char_typebasic_ios<char,char_traits<char> >::fill() const
basic_ios<char,char_traits<char> >::char_typebasic_ios<char,char_traits<char> >::fill(basic_ios<char,char_traits<char> >::char_type __ch)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
ios_base::fmtflagsios_base::flags() const
ios_base::fmtflagsios_base::flags(ios_base::fmtflags __fmtfl)
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::flush()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
stringGetFormattedSource() const
virtual const char*TObject::GetIconName() const
localeios_base::getloc() const
static UInt_tGetMaxSourceSize()
TMVA::EMsgTypeGetMinType() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
stringGetPrintedSource() const
stringGetSource() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
boolbasic_ios<char,char_traits<char> >::good() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
localebasic_ios<char,char_traits<char> >::imbue(const locale& __loc)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
static voidInhibitOutput()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
long&ios_base::iword(int __ix)
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
TMVA::MsgLoggerMsgLogger(TMVA::EMsgType minType = kINFO)
TMVA::MsgLoggerMsgLogger(const TMVA::MsgLogger& parent)
TMVA::MsgLoggerMsgLogger(const TObject* source, TMVA::EMsgType minType = kINFO)
TMVA::MsgLoggerMsgLogger(const string& source, TMVA::EMsgType minType = kINFO)
charbasic_ios<char,char_traits<char> >::narrow(basic_ios<char,char_traits<char> >::char_type __c, char __dfault) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
void*basic_ios<char,char_traits<char> >::operator void *() const
boolbasic_ios<char,char_traits<char> >::operator!() const
TMVA::MsgLogger&operator<<(TMVA::MsgLogger&(*)(TMVA::MsgLogger&) _f)
TMVA::MsgLogger&operator<<(ostream&(*)(std::ostream&) _f)
TMVA::MsgLogger&operator<<(ios&(*)(std::ios&) _f)
TMVA::MsgLogger&operator<<(TMVA::EMsgType type)
TMVA::MsgLogger&operator<<<const char *>(const char* arg)
TMVA::MsgLogger&operator<<<TMVA::EMsgType>(TMVA::EMsgType arg)
TMVA::MsgLogger&operator<<<TMVA::MsgLogger &(*)(TMVA::MsgLogger &)>(TMVA::MsgLogger&(*)(TMVA::MsgLogger&) arg)
TMVA::MsgLogger&operator<<<TString>(TString arg)
TMVA::MsgLogger&operator=(const TMVA::MsgLogger& parent)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
streamsizeios_base::precision() const
streamsizeios_base::precision(streamsize __prec)
virtual voidTObject::Print(Option_t* option = "") const
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::put(basic_ostream<char,char_traits<char> >::char_type __c)
void*&ios_base::pword(int __ix)
basic_ostringstream<char,char_traits<char>,allocator<char> >::__stringbuf_type*basic_ostringstream<char,char_traits<char>,allocator<char> >::rdbuf() const
ios_base::iostatebasic_ios<char,char_traits<char> >::rdstate() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidios_base::register_callback(ios_base::event_callback __fn, int __index)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::seekp(basic_ostream<char,char_traits<char> >::pos_type)
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::seekp(basic_ostream<char,char_traits<char> >::off_type, ios_base::seekdir)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
ios_base::fmtflagsios_base::setf(ios_base::fmtflags __fmtfl)
ios_base::fmtflagsios_base::setf(ios_base::fmtflags __fmtfl, ios_base::fmtflags __mask)
voidSetMinType(TMVA::EMsgType minType)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetSource(const string& source)
voidbasic_ios<char,char_traits<char> >::setstate(ios_base::iostate __state)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
basic_ostringstream<char,char_traits<char>,allocator<char> >::__string_typebasic_ostringstream<char,char_traits<char>,allocator<char> >::str() const
voidbasic_ostringstream<char,char_traits<char>,allocator<char> >::str(const basic_ostringstream<char,char_traits<char>,allocator<char> >::__string_type& __s)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
static boolios_base::sync_with_stdio(bool __sync = true)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
basic_ostream<char,char_traits<char> >::pos_typebasic_ostream<char,char_traits<char> >::tellp()
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
basic_ostream<char,char_traits<char> >*basic_ios<char,char_traits<char> >::tie() const
basic_ostream<char,char_traits<char> >*basic_ios<char,char_traits<char> >::tie(basic_ostream<char,char_traits<char> >* __tiestr)
voidios_base::unsetf(ios_base::fmtflags __mask)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
basic_ios<char,char_traits<char> >::char_typebasic_ios<char,char_traits<char> >::widen(char __c) const
streamsizeios_base::width() const
streamsizeios_base::width(streamsize __wide)
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::write(const basic_ostream<char,char_traits<char> >::char_type* __s, streamsize __n)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
static intios_base::xalloc()
protected:
voidbasic_ios<char,char_traits<char> >::_M_cache_locale(const locale& __loc)
voidios_base::_M_call_callbacks(ios_base::event __ev)
voidios_base::_M_dispose_callbacks()
ios_base::_Words&ios_base::_M_grow_words(int __index, bool __iword)
voidios_base::_M_init()
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::_M_insert<bool>(bool __v)
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::_M_insert<const void *>(const void* __v)
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::_M_insert<double>(double __v)
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::_M_insert<long double>(long double __v)
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::_M_insert<long long>(Long64_t __v)
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::_M_insert<long>(long __v)
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::_M_insert<unsigned long long>(ULong64_t __v)
basic_ostream<char,char_traits<char> >::__ostream_type&basic_ostream<char,char_traits<char> >::_M_insert<unsigned long>(unsigned long __v)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidbasic_ios<char,char_traits<char> >::init(basic_streambuf<char,char_traits<char> >* __sb)
voidTObject::MakeZombie()
private:
voidInitMaps()
voidSend()
voidWriteMsg(TMVA::EMsgType type, const string& line) const

Data Members

public:
enum _Ios_Fmtflags { boolalpha
dec
fixed
hex
internal
left
oct
right
scientific
showbase
showpoint
showpos
skipws
unitbuf
uppercase
adjustfield
basefield
floatfield
};
enum _Ios_Iostate { badbit
eofbit
failbit
goodbit
};
enum _Ios_Openmode { app
ate
binary
in
out
trunc
};
enum _Ios_Seekdir { beg
cur
end
};
public:
static ios_base::eventios_base::copyfmt_event
static ios_base::eventios_base::erase_event
static ios_base::eventios_base::imbue_event
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
private:
TMVA::EMsgTypefActiveTypeactive type
TMVA::EMsgTypefMinTypeminimum type for output
const TObject*fObjSourcethe source TObject (used for name)
stringfStrSourcealternative string source
static atomic<const map<TMVA::EMsgType,string>*>fgColorMapmatches output types with terminal colors
static atomic<Bool_t>fgInhibitOutputflag to suppress all output
static const UInt_tfgMaxSourceSizemaximum length of source name
static atomic<Bool_t>fgOutputSupresseddisable the output globaly (used by generic booster)
static const stringfgPrefixthe prefix of the source name
static const stringfgSuffixsuffix following source name
static atomic<const map<TMVA::EMsgType,string>*>fgTypeMapmatches output types with strings

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void InhibitOutput()
void EnableOutput()
MsgLogger(const TObject* source, TMVA::EMsgType minType = kINFO)
 constructor
MsgLogger(const string& source, TMVA::EMsgType minType = kINFO)
 constructor
MsgLogger( EMsgType minType )
 constructor
MsgLogger( const MsgLogger& parent )
 copy constructor
~MsgLogger()
 destructor
TMVA::MsgLogger& operator=(const TMVA::MsgLogger& parent)
 assingment operator
std::string GetFormattedSource() const
 make sure the source name is no longer than fgMaxSourceSize:
std::string GetPrintedSource() const
 the full logger prefix
void Send()
 activates the logger writer
void WriteMsg(TMVA::EMsgType type, const string& line) const
 putting the output string, the message type, and the color
 switcher together into a single string
TMVA::MsgLogger& Endmsg(TMVA::MsgLogger& logger)
 end line
void InitMaps()
 Create the message type and color maps
void SetSource(const string& source)
 Accessors
{ fStrSource = source; }
EMsgType GetMinType() const
{ return fMinType; }
void SetMinType(TMVA::EMsgType minType)
{ fMinType = minType; }
std::string GetSource() const
{ return fStrSource; }
UInt_t GetMaxSourceSize()
{ return (const UInt_t)fgMaxSourceSize; }
MsgLogger& operator<<( MsgLogger& ( *_f )( MsgLogger& ) )
 Accept stream modifiers
MsgLogger& operator<<( std::ostream& ( *_f )( std::ostream& ) )
MsgLogger& operator<<( std::ios& ( *_f )( std::ios& ) )
MsgLogger& operator<<( EMsgType type )
 Accept message type specification