#include <RooAbsString.h>
Inheritance diagram for RooAbsString:
Public Member Functions | |
RooAbsString () | |
RooAbsString (const char *name, const char *title, Int_t size=128) | |
RooAbsString (const RooAbsString &other, const char *name=0) | |
virtual | ~RooAbsString () |
virtual const char * | getVal () const |
Bool_t | operator== (const char *) const |
virtual Bool_t | operator== (const RooAbsArg &other) |
virtual Bool_t | readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE) |
virtual void | writeToStream (ostream &os, Bool_t compact) const |
virtual void | printValue (ostream &os) const |
RooAbsArg * | createFundamental (const char *newname=0) const |
RooAbsString () | |
RooAbsString (const char *name, const char *title, Int_t size=128) | |
RooAbsString (const RooAbsString &other, const char *name=0) | |
virtual | ~RooAbsString () |
virtual const char * | getVal () const |
Bool_t | operator== (const char *) const |
virtual Bool_t | operator== (const RooAbsArg &other) |
virtual Bool_t | readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE) |
virtual void | writeToStream (ostream &os, Bool_t compact) const |
virtual void | printValue (ostream &os) const |
RooAbsArg * | createFundamental (const char *newname=0) const |
Protected Member Functions | |
const char * | traceEval () const |
virtual Bool_t | traceEvalHook (const char *value) const |
virtual TString | evaluate () const |
virtual Bool_t | isValid () const |
virtual Bool_t | isValidString (const char *, Bool_t printError=kFALSE) const |
virtual void | syncCache (const RooArgSet *nset=0) |
void | copyCache (const RooAbsArg *source, Bool_t valueOnly=kFALSE) |
virtual void | attachToTree (TTree &t, Int_t bufSize=32000) |
virtual void | fillTreeBranch (TTree &t) |
virtual void | setTreeBranchStatus (TTree &t, Bool_t active) |
const char * | traceEval () const |
virtual Bool_t | traceEvalHook (const char *value) const |
virtual TString | evaluate () const |
virtual Bool_t | isValid () const |
virtual Bool_t | isValidString (const char *, Bool_t printError=kFALSE) const |
virtual void | syncCache (const RooArgSet *nset=0) |
void | copyCache (const RooAbsArg *source, Bool_t valueOnly=kFALSE) |
virtual void | attachToTree (TTree &t, Int_t bufSize=32000) |
virtual void | fillTreeBranch (TTree &t) |
virtual void | setTreeBranchStatus (TTree &t, Bool_t active) |
Protected Attributes | |
Int_t | _len |
char * | _value |
char * | _value |
Definition at line 24 of file RooAbsString.h.
RooAbsString::RooAbsString | ( | ) |
Definition at line 47 of file RooAbsString.cxx.
RooAbsString::RooAbsString | ( | const char * | name, | |
const char * | title, | |||
Int_t | size = 128 | |||
) |
Definition at line 54 of file RooAbsString.cxx.
References RooAbsArg::setShapeDirty(), and RooAbsArg::setValueDirty().
RooAbsString::RooAbsString | ( | const RooAbsString & | other, | |
const char * | name = 0 | |||
) |
RooAbsString::~RooAbsString | ( | ) | [virtual] |
RooAbsString::RooAbsString | ( | ) |
RooAbsString::RooAbsString | ( | const char * | name, | |
const char * | title, | |||
Int_t | size = 128 | |||
) |
RooAbsString::RooAbsString | ( | const RooAbsString & | other, | |
const char * | name = 0 | |||
) |
virtual RooAbsString::~RooAbsString | ( | ) | [virtual] |
const char * RooAbsString::getVal | ( | ) | const [virtual] |
Definition at line 87 of file RooAbsString.cxx.
References _len, _value, RooAbsArg::clearValueDirty(), RooAbsArg::isValueDirty(), strlcpy(), and traceEval().
Referenced by isValid(), operator==(), printValue(), and syncCache().
Bool_t RooAbsString::operator== | ( | const char * | ) | const |
Implements RooAbsArg.
Definition at line 112 of file RooAbsString.cxx.
References getVal(), kFALSE, and operator==().
void RooAbsString::writeToStream | ( | ostream & | os, | |
Bool_t | compact | |||
) | const [virtual] |
void RooAbsString::printValue | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooPrintable.
Definition at line 140 of file RooAbsString.cxx.
References getVal().
RooAbsArg * RooAbsString::createFundamental | ( | const char * | newname = 0 |
) | const [virtual] |
Implements RooAbsArg.
Definition at line 277 of file RooAbsString.cxx.
References TNamed::GetName(), and TNamed::GetTitle().
const char * RooAbsString::traceEval | ( | ) | const [protected] |
Definition at line 179 of file RooAbsString.cxx.
References _len, cxcoutD, evaluate(), TNamed::GetName(), isValidString(), traceEvalHook(), RooFit::Tracing, and value.
Referenced by getVal().
Bool_t RooAbsString::traceEvalHook | ( | const char * | value | ) | const [protected, virtual] |
virtual TString RooAbsString::evaluate | ( | ) | const [inline, protected, virtual] |
Bool_t RooAbsString::isValid | ( | ) | const [protected, virtual] |
Reimplemented from RooAbsArg.
Definition at line 149 of file RooAbsString.cxx.
References getVal(), and isValidString().
Bool_t RooAbsString::isValidString | ( | const char * | , | |
Bool_t | printError = kFALSE | |||
) | const [protected, virtual] |
Definition at line 158 of file RooAbsString.cxx.
References _len, kFALSE, and kTRUE.
Referenced by isValid(), RooStringVar::operator=(), RooStringVar::readFromStream(), RooStringVar::setVal(), and traceEval().
void RooAbsString::syncCache | ( | const RooArgSet * | nset = 0 |
) | [protected, virtual] |
void RooAbsString::copyCache | ( | const RooAbsArg * | source, | |
Bool_t | valueOnly = kFALSE | |||
) | [protected, virtual] |
Implements RooAbsArg.
Definition at line 208 of file RooAbsString.cxx.
References _len, _value, RooAbsArg::setValueDirty(), and strlcpy().
Implements RooAbsArg.
Definition at line 225 of file RooAbsString.cxx.
References _value, cxcoutD, RooFit::DataHandling, TBranch::GetCompressionLevel(), TNamed::GetName(), TBranch::SetCompressionLevel(), and t.
void RooAbsString::fillTreeBranch | ( | TTree & | t | ) | [protected, virtual] |
Implements RooAbsArg.
Definition at line 248 of file RooAbsString.cxx.
References coutE, RooFit::DataHandling, TBranch::Fill(), TNamed::GetName(), and t.
Implements RooAbsArg.
Definition at line 264 of file RooAbsString.cxx.
References TNamed::GetName(), and t.
virtual const char* RooAbsString::getVal | ( | ) | const [virtual] |
Bool_t RooAbsString::operator== | ( | const char * | ) | const |
virtual Bool_t RooAbsString::readFromStream | ( | istream & | is, | |
Bool_t | compact, | |||
Bool_t | verbose = kFALSE | |||
) | [virtual] |
Implements RooAbsArg.
virtual void RooAbsString::writeToStream | ( | ostream & | os, | |
Bool_t | compact | |||
) | const [virtual] |
Implements RooAbsArg.
virtual void RooAbsString::printValue | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooPrintable.
RooAbsArg* RooAbsString::createFundamental | ( | const char * | newname = 0 |
) | const [virtual] |
Implements RooAbsArg.
const char* RooAbsString::traceEval | ( | ) | const [protected] |
virtual Bool_t RooAbsString::traceEvalHook | ( | const char * | value | ) | const [protected, virtual] |
virtual TString RooAbsString::evaluate | ( | ) | const [inline, protected, virtual] |
Definition at line 53 of file RooAbsString.h.
virtual Bool_t RooAbsString::isValidString | ( | const char * | , | |
Bool_t | printError = kFALSE | |||
) | const [protected, virtual] |
virtual void RooAbsString::syncCache | ( | const RooArgSet * | nset = 0 |
) | [protected, virtual] |
Implements RooAbsArg.
void RooAbsString::copyCache | ( | const RooAbsArg * | source, | |
Bool_t | valueOnly = kFALSE | |||
) | [protected, virtual] |
Implements RooAbsArg.
Implements RooAbsArg.
Implements RooAbsArg.
Int_t RooAbsString::_len [protected] |
Definition at line 64 of file RooAbsString.h.
Referenced by copyCache(), getVal(), isValidString(), RooStringVar::operator=(), RooStringVar::readFromStream(), RooAbsString(), RooStringVar::setVal(), and traceEval().
char* RooAbsString::_value [mutable, protected] |
Definition at line 65 of file RooAbsString.h.
Referenced by attachToTree(), copyCache(), getVal(), RooStringVar::getVal(), RooStringVar::operator TString(), RooStringVar::operator=(), RooStringVar::readFromStream(), RooAbsString(), RooStringVar::setVal(), and ~RooAbsString().
char* RooAbsString::_value [mutable, protected] |
Definition at line 65 of file RooAbsString.h.