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

Function Members (Methods)

public:
virtual~MsgLogger()
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 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 excpt)
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()
ostream&basic_ostream<char,char_traits<char> >::form(char* format)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
stringGetFormattedSource() const
virtual const char*TObject::GetIconName() 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
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
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 index)
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(char, char) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static 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<<(std::ios& (*)(std::ios&) _f)
TMVA::MsgLogger&operator<<(TMVA::EMsgType type)
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 index)
basic_stringbuf<char,char_traits<char>,allocator<char> >*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(basic_ostream<char,char_traits<char> >& 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 pos)
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, char* parent)
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& str)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
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> >* tie_arg)
voidios_base::unsetf(ios_base::fmtflags mask)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
charbasic_ios<char,char_traits<char> >::widen(char) 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:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
voidInitMaps()
voidSend()
voidWriteMsg(TMVA::EMsgType type, const string& line) const

Data Members

public:
enum ios_base::io_state { goodbit
badbit
eofbit
failbit
};
enum ios_base::open_mode { app
binary
in
out
trunc
ate
};
enum ios_base::seek_dir { beg
cur
end
};
enum ios_base::fmt_flags { boolalpha
dec
fixed
hex
internal
left
oct
right
scientific
showbase
showpoint
showpos
skipws
unitbuf
uppercase
adjustfield
basefield
floatfield
};
enum ios_base::event { erase_event
imbue_event
copyfmt_event
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
TMVA::EMsgTypefActiveTypeactive type
map<EMsgType,std::string>fColorMapmatches output types with terminal colors
TMVA::EMsgTypefMinTypeminimum type for output
const TObject*fObjSourcethe source TObject (used for name)
const stringfPrefixthe prefix of the source name
stringfStrSourcealternative string source
const stringfSuffixsuffix following source name
map<EMsgType,std::string>fTypeMapmatches output types with strings
static UInt_tfgMaxSourceSizemaximum length of source name

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

MsgLogger( const TObject* source, EMsgType minType )
 constructor
MsgLogger( const std::string& source, EMsgType minType )
 constructor
MsgLogger( EMsgType minType )
 constructor
MsgLogger( const MsgLogger& parent )
   basic_ios< MsgLogger::char_type, MsgLogger::traits_type >( new MsgLogger::__stringbuf_type() ),
 copy constructor
~MsgLogger()
 destructor
TMVA::MsgLogger& operator=(const TMVA::MsgLogger& parent)
 assingment operator
std::string GetFormattedSource()
 make sure the source name is no longer than fgMaxSourceSize:
std::string GetPrintedSource()
 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()
 fill maps that assign a string and a color to echo message level
void SetSource(const string& source)
 Accessors
{ fStrSource = source; }
EMsgType GetMinType()
{ return fMinType; }
void SetMinType(TMVA::EMsgType minType)
{ fMinType = minType; }
std::string GetSource()
{ return fStrSource; }
UInt_t GetMaxSourceSize()
{ return (UInt_t)fgMaxSourceSize; }
MsgLogger& operator<<( MsgLogger& ( *_f )( MsgLogger& ) )
 Accept stream modifiers
MsgLogger& operator<<( std::ostream& ( *_f )( std::ostream& ) )

Author: Attila Krasznahorkay
Last change: root/tmva $Id: MsgLogger.h 26050 2008-11-01 09:18:41Z brun $
Last generated: 2008-11-01 10:21
Copyright (c) 2005: *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.