64 _nameLength = newLen>0 ? newLen : 0 ;
77 if (style==kVerbose||style==kStandard) {
78 printMultiline(os,contents,style==kVerbose,indent) ;
80 }
else if (style==kTreeStructure) {
81 printTree(os,indent) ;
86 if (style!=kInline) os <<
indent ;
89 if (contents&kAddress) {
91 if (contents!=kAddress) {
97 if (contents&kClassName) {
99 if (contents!=kClassName) {
105 if (contents&kName) {
107 os << setw(_nameLength) ;
113 if (contents&kArgs) {
119 if (contents&kName) {
126 if (contents&kExtras) {
127 if (contents!=kExtras) {
134 if (contents&kTitle) {
135 if (contents==kTitle) {
144 if (style!=kInline) os << endl ;
180 cout <<
"Tree structure printing not implement for class " <<
IsA()->
GetName() << endl ;
256 return kTreeStructure ;
273 static ostream *_defaultPrintStream = &cout;
275 ostream& _oldDefault= *_defaultPrintStream;
276 if(0 != os) _defaultPrintStream= os;
virtual void printStream(std::ostream &os, Int_t contents, StyleOption style, TString indent="") const
Print description of object on ostream, printing contents set by contents integer, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'.
static void nameFieldLength(Int_t newLen)
Set length of field reserved from printing name of RooAbsArgs in multi-line collection printing to gi...
void ToLower()
Change string to lower-case.
virtual StyleOption defaultPrintStyle(Option_t *opt) const
virtual Int_t defaultPrintContents(Option_t *opt) const
Default choice of contents to be printed (name and value)
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Interface for detailed printing of object.
virtual void printName(std::ostream &os) const
Print name of object.
virtual void printExtras(std::ostream &os) const
Interface to print extras of object.
std::string printValue(const TDatime &val)
Print a TDatime at the prompt.
void printName(const R &r)
virtual void printTitle(std::ostream &os) const
Print title of object.
virtual void printAddress(std::ostream &os) const
Print class name of object.
virtual void printArgs(std::ostream &os) const
Interface for printing of object arguments.
virtual const char * GetName() const
Returns name of object.
static void indent(ostringstream &buf, int indent_level)
virtual void printClassName(std::ostream &os) const
Print class name of object.
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
virtual void printTree(std::ostream &os, TString indent="") const
Interface for tree structure printing of object.
ROOT::R::TRInterface & operator<<(ROOT::R::TRInterface &r, TString code)
virtual void printValue(std::ostream &os) const
Interface to print value of object.