65 _nameLength = newLen>0 ? newLen : 0 ;
78 if (style==kVerbose||style==kStandard) {
79 printMultiline(os,contents,style==kVerbose,indent) ;
81 }
else if (style==kTreeStructure) {
82 printTree(os,indent) ;
87 if (style!=kInline) os <<
indent ;
90 if (contents&kAddress) {
92 if (contents!=kAddress) {
98 if (contents&kClassName) {
100 if (contents!=kClassName) {
106 if (contents&
kName) {
108 os << setw(_nameLength) ;
114 if (contents&kArgs) {
120 if (contents&kName) {
127 if (contents&kExtras) {
128 if (contents!=kExtras) {
136 if (contents==kTitle) {
145 if (style!=kInline) os << endl ;
181 cout <<
"Tree structure printing not implement for class " << IsA()->GetName() << endl ;
257 return kTreeStructure ;
274 static ostream *_defaultPrintStream = &cout;
276 ostream& _oldDefault= *_defaultPrintStream;
277 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.
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
virtual void printName(std::ostream &os) const
Print name of object.
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods...
virtual void printExtras(std::ostream &os) const
Interface to print extras of object.
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.
std::string printValue(const TDatime *val)
Print a TDatime at the prompt.
virtual void printArgs(std::ostream &os) const
Interface for printing of object arguments.
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.
virtual void printValue(std::ostream &os) const
Interface to print value of object.