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) {
119 if (contents&kValue) {
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 ;
235 return kName|kValue ;
250 if (o.Contains(
"v")) {
252 }
else if (o.Contains(
"s")) {
254 }
else if (o.Contains(
"i")) {
256 }
else if (o.Contains(
"t")) {
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'.
virtual void printClassName(std::ostream &os) const
Print class name of object.
static void nameFieldLength(Int_t newLen)
Set length of field reserved from printing name of RooAbsArgs in multi-line collection printing to gi...
virtual void printValue(std::ostream &os) const
Interface to print value of object.
virtual void printAddress(std::ostream &os) const
Print class name of object.
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
virtual void printTree(std::ostream &os, TString indent="") const
Interface for tree structure printing of object.
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods...
virtual void printArgs(std::ostream &os) const
Interface for printing of object arguments.
std::string printValue(const TDatime *val)
Print a TDatime at the prompt.
virtual Int_t defaultPrintContents(Option_t *opt) const
Default choice of contents to be printed (name and value)
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
virtual StyleOption defaultPrintStyle(Option_t *opt) const
virtual void printTitle(std::ostream &os) const
Print title of object.
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Interface for detailed printing of object.
virtual void printExtras(std::ostream &os) const
Interface to print extras of object.
virtual void printName(std::ostream &os) const
Print name of object.