52 <<
"): initial contents too long and ignored" << endl ;
84RooStringVar::operator TString()
87 return TString(_value) ;
135 TString token,errorPrefix(
"RooStringVar::readFromStream(") ;
136 errorPrefix.Append(
GetName()) ;
137 errorPrefix.Append(
")") ;
152 <<
"): new string too long and ignored" << endl ;
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
void setShapeDirty() const
void setValueDirty() const
RooAbsString is the common abstract base class for objects that represent a string value.
virtual Bool_t isValidString(const char *, Bool_t printError=kFALSE) const
Check if given string value is valid.
Bool_t readString(TString &value, Bool_t zapOnError=kFALSE)
Read a string token.
TString readLine()
Read an entire line from the stream and return as TString This method recognizes the use of '\' in th...
RooStringVar implements a string values RooAbsArg.
virtual RooAbsArg & operator=(const char *newValue)
Set value to given TString.
virtual void setVal(const char *newVal)
Set value to given TString.
virtual const char * getVal() const
Return value of object. Calculated if dirty, otherwise cached value is returned.
virtual ~RooStringVar()
Destructor.
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to given stream.
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from given stream.
virtual const char * GetName() const
Returns name of object.