|
| RooStreamParser (std::istream &is) |
| Construct parser on given input stream. More...
|
|
| RooStreamParser (std::istream &is, const TString &errPrefix) |
| Construct parser on given input stream. More...
|
|
virtual | ~RooStreamParser () |
| Destructor. More...
|
|
Bool_t | atEOF () |
|
Bool_t | atEOL () |
| If true, parser is at end of line in stream. More...
|
|
Bool_t | convertToDouble (const TString &token, Double_t &value) |
| Convert given string to a double. Return true if the conversion fails. More...
|
|
Bool_t | convertToInteger (const TString &token, Int_t &value) |
| Convert given string to an Int_t. More...
|
|
Bool_t | convertToString (const TString &token, TString &string) |
| Convert given token to a string (i.e. remove eventual quotation marks) More...
|
|
Bool_t | expectToken (const TString &expected, Bool_t zapOnError=kFALSE) |
| Read the next token and return kTRUE if it is identical to the given 'expected' token. More...
|
|
TString | getPunctuation () const |
|
Bool_t | isPunctChar (char c) const |
| Check if given char is considered punctuation. More...
|
|
Bool_t | readDouble (Double_t &value, Bool_t zapOnError=kFALSE) |
| Read the next token and convert it to a Double_t. More...
|
|
Bool_t | readInteger (Int_t &value, Bool_t zapOnError=kFALSE) |
| Read a token and convert it to an Int_t. More...
|
|
TString | readLine () |
| Read an entire line from the stream and return as TString This method recognizes the use of '\' in the istream as line continuation token. More...
|
|
Bool_t | readString (TString &value, Bool_t zapOnError=kFALSE) |
| Read a string token. More...
|
|
TString | readToken () |
| Read one token separated by any of the know punctuation characters This function recognizes and handles comment lines in the istream (those starting with '#', quoted strings ("") the content of which is not tokenized and '+-. More...
|
|
void | setPunctuation (const TString &punct) |
| Change list of characters interpreted as punctuation. More...
|
|
void | zapToEnd (Bool_t inclContLines=kFALSE) |
| Eat all characters up to and including then end of the current line. More...
|
|