Classes | |
struct | ClosureGrammar |
Grammar or grammar rule which derive from this struct will have attribute of type T and name val. More... | |
struct | AttributesClosureGrammar |
Grammar or grammar rule which derive from this struct will have two attributes: type T1 and name val, type More... | |
class | BoolGrammar |
The valid represenation of boolean values are:. More... | |
class | CharGrammar |
The valid represenation of char values are:. More... | |
class | IntGrammar |
The valid representation of integers values are:. More... | |
class | RealGrammar |
The valid represenation of real values are:. More... | |
class | StringGrammar |
The valid represenation of string values are:. More... | |
class | SkipperGrammar |
Skipping spaces and comments. More... | |
class | PairGrammar |
The valid represenation of pairs are: ("abc",123) or ("abc","def") Inner types of pair depends on KeyGrammarT and ValueGrammarT grammars. More... | |
class | VectorGrammar |
The valid represenation of vector are:
| |
class | MapGrammar |
The valid represenation of map are:
| |
Functions | |
StatusCode | parse (bool &result, const std::string &input) |
parse the bool value | |
StatusCode | parse (char &result, const std::string &input) |
parse the char value | |
StatusCode | parse (unsigned char &result, const std::string &input) |
StatusCode | parse (signed char &result, const std::string &input) |
StatusCode | parse (int &result, const std::string &input) |
parse the int value | |
StatusCode | parse (short &result, const std::string &input) |
StatusCode | parse (unsigned short &result, const std::string &input) |
StatusCode | parse (unsigned int &result, const std::string &input) |
StatusCode | parse (long &result, const std::string &input) |
StatusCode | parse (unsigned long &result, const std::string &input) |
StatusCode | parse (long long &result, const std::string &input) |
StatusCode | parse (unsigned long long &result, const std::string &input) |
StatusCode | parse (double &result, const std::string &input) |
parse the double value | |
StatusCode | parse (float &result, const std::string &input) |
StatusCode | parse (long double &result, const std::string &input) |
StatusCode | parse (std::string &result, const std::string &input) |
parse the std::string value | |
StatusCode | parse (std::vector< bool > &result, const std::string &input) |
parse the std::vector<bool> value | |
StatusCode | parse (std::vector< char > &result, const std::string &input) |
parse the std::vector<char> value | |
StatusCode | parse (std::vector< unsigned char > &result, const std::string &input) |
StatusCode | parse (std::vector< signed char > &result, const std::string &input) |
StatusCode | parse (std::vector< int > &result, const std::string &input) |
parse the std::vector<int> value | |
StatusCode | parse (std::vector< short > &result, const std::string &input) |
StatusCode | parse (std::vector< unsigned short > &result, const std::string &input) |
StatusCode | parse (std::vector< unsigned int > &result, const std::string &input) |
StatusCode | parse (std::vector< long > &result, const std::string &input) |
StatusCode | parse (std::vector< unsigned long > &result, const std::string &input) |
StatusCode | parse (std::vector< long long > &result, const std::string &input) |
StatusCode | parse (std::vector< unsigned long long > &result, const std::string &input) |
StatusCode | parse (std::vector< double > &result, const std::string &input) |
parse the std::vector<double> value | |
StatusCode | parse (std::vector< float > &result, const std::string &input) |
StatusCode | parse (std::vector< long double > &result, const std::string &input) |
StatusCode | parse (std::vector< std::string > &result, const std::string &input) |
parse the std::vector<std::string> value | |
StatusCode | parse (std::pair< double, double > &result, const std::string &input) |
parse the std::pair<double,double> value | |
StatusCode | parse (std::pair< int, int > &result, const std::string &input) |
parse the std::pair<int,int> value | |
StatusCode | parse (std::vector< std::pair< double, double > > &result, const std::string &input) |
parse the std::vector<std::pair<double,double> > value | |
StatusCode | parse (std::vector< std::pair< int, int > > &result, const std::string &input) |
parse the std::vector<std::pair<int,int> > value | |
StatusCode | parse (std::vector< std::vector< std::string > > &result, const std::string &input) |
parse the std::vector<std::vector<std::string> > value | |
StatusCode | parse (std::vector< std::vector< double > > &result, const std::string &input) |
parse the std::vector<std::vector<double> > value | |
StatusCode | parse (std::map< int, int > &result, const std::string &input) |
parse the std::map<int , int> value | |
StatusCode | parse (std::map< int, double > &result, const std::string &input) |
parse the std::map<int , double> value | |
StatusCode | parse (std::map< std::string, std::string > &result, const std::string &input) |
parse the std::map<std::string , std::string> value | |
StatusCode | parse (std::map< std::string, int > &result, const std::string &input) |
parse the std::map<std::string , int> value | |
StatusCode | parse (std::map< std::string, double > &result, const std::string &input) |
parse the std::map<std::string , double> value | |
StatusCode | parse (std::map< std::string, std::vector< std::string > > &result, const std::string &input) |
parse the std::map<std::string , std::vector<std::string> > value | |
StatusCode | parse (std::map< std::string, std::vector< int > > &result, const std::string &input) |
parse the std::map<std::string , std::vector<int> > value | |
StatusCode | parse (std::map< std::string, std::vector< double > > &result, const std::string &input) |
parse the std::map<std::string , std::vector<double> > value | |
StatusCode | parse (std::map< int, std::string > &result, const std::string &input) |
parse the std::map<int,std::string> > objects | |
StatusCode | parse (std::map< unsigned int, std::string > &result, const std::string &input) |
parse the std::map<unsigned int,std::string> > objects | |
StatusCode | parse (std::string &name, std::string &value, const std::string &input) |
parse the pair expression (map-component) " 'name' :value" | |
StatusCode | parse (Gaudi::Histo1DDef &histo, const std::string &input) |
helper function, needed for implementation of "Histogram Property" | |
StatusCode | parse (std::map< std::string, Gaudi::Histo1DDef > &histos, const std::string &input) |
helper function, needed for implementation of "Histogram Property" |
StatusCode Gaudi::Parsers::parse | ( | bool & | result, | |
const std::string & | input | |||
) |
parse the bool
value
result | (output) boolean result | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | char & | result, | |
const std::string & | input | |||
) |
parse the char
value
result | (output) boolean result | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | unsigned char & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | signed char & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | int & | result, | |
const std::string & | input | |||
) |
parse the int
value
result | (output) integer result | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | short & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | unsigned short & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | unsigned int & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | long & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | unsigned long & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | long long & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | unsigned long long & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | double & | result, | |
const std::string & | input | |||
) |
parse the double
value
result | (output) double result | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | float & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | long double & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::string & | result, | |
const std::string & | input | |||
) |
parse the std::string
value
result | (output) string result | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::vector< bool > & | result, | |
const std::string & | input | |||
) |
parse the std::vector<bool>
value
result | (output) vector with boolean elements | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::vector< char > & | result, | |
const std::string & | input | |||
) |
parse the std::vector<char>
value
result | (output) vector with char elements | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::vector< unsigned char > & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::vector< signed char > & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::vector< int > & | result, | |
const std::string & | input | |||
) |
parse the std::vector<int>
value
result | (output) vector with integer elements | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::vector< short > & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::vector< unsigned short > & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::vector< unsigned int > & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::vector< long > & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::vector< unsigned long > & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::vector< long long > & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::vector< unsigned long long > & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::vector< double > & | result, | |
const std::string & | input | |||
) |
parse the std::vector<double>
value
result | (output) vector with double elements | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::vector< float > & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::vector< long double > & | result, | |
const std::string & | input | |||
) |
StatusCode Gaudi::Parsers::parse | ( | std::vector< std::string > & | result, | |
const std::string & | input | |||
) |
parse the std::vector<std::string>
value
result | (output) vector with string elements | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::pair< double, double > & | result, | |
const std::string & | input | |||
) |
parse the std::pair<double,double>
value
result | (output) pair of doubles | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::pair< int, int > & | result, | |
const std::string & | input | |||
) |
parse the std::pair<int,int>
value
result | (output) pair of integers | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::vector< std::pair< double, double > > & | result, | |
const std::string & | input | |||
) |
parse the std::vector<std::pair<double,double> >
value
result | (output) vector with pairs of doubles | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::vector< std::pair< int, int > > & | result, | |
const std::string & | input | |||
) |
parse the std::vector<std::pair<int,int> >
value
result | (output) vector with pairs of int | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::vector< std::vector< std::string > > & | result, | |
const std::string & | input | |||
) |
parse the std::vector<std::vector<std::string> >
value
result | (output) vector with vectors of strings | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::vector< std::vector< double > > & | result, | |
const std::string & | input | |||
) |
parse the std::vector<std::vector<double> >
value
result | (output) vector with vectors of doubles | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::map< int, int > & | result, | |
const std::string & | input | |||
) |
parse the std::map<int , int>
value
result | (output) map with integer key and double value | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::map< int, double > & | result, | |
const std::string & | input | |||
) |
parse the std::map<int , double>
value
result | (output) map with integer key and double value | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::map< std::string, std::string > & | result, | |
const std::string & | input | |||
) |
parse the std::map<std::string , std::string>
value
result | (output) map with string key and value | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::map< std::string, int > & | result, | |
const std::string & | input | |||
) |
parse the std::map<std::string , int>
value
result | (output) map with string key and integer value | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::map< std::string, double > & | result, | |
const std::string & | input | |||
) |
parse the std::map<std::string , double>
value
result | (output) map with string key and integer value | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::map< std::string, std::vector< std::string > > & | result, | |
const std::string & | input | |||
) |
parse the std::map<std::string , std::vector<std::string> >
value
result | (output) map with string value and vector of strings as value | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::map< std::string, std::vector< int > > & | result, | |
const std::string & | input | |||
) |
parse the std::map<std::string , std::vector<int> >
value
result | (output) map with string value and vector of integers as value | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::map< std::string, std::vector< double > > & | result, | |
const std::string & | input | |||
) |
parse the std::map<std::string , std::vector<double> >
value
result | (output) map with string value and vector of doubles as value | |
input | (input) the string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | std::map< int, std::string > & | result, | |
const std::string & | input | |||
) |
parse the std::map<int,std::string> >
objects
Alexander MAZUROV Alexander.Mazurov@gmail.com
StatusCode Gaudi::Parsers::parse | ( | std::map< unsigned int, std::string > & | result, | |
const std::string & | input | |||
) |
parse the std::map<unsigned int,std::string> >
objects
Alexander MAZUROV Alexander.Mazurov@gmail.com
StatusCode Gaudi::Parsers::parse | ( | std::string & | name, | |
std::string & | value, | |||
const std::string & | input | |||
) |
parse the pair expression (map-component) " 'name' :value"
const std::string input = "'PackageName':GaudiKernel" ; std::string name ; std::string value ; StatusCode sc = Gaudi::Parsers::parse ( name , value , input ) ; if ( sc.isFailure() ) { ... } std::cout << "\tParsed name is " << name << "\tParsed value is " << value << std::endl
name | (output) the parsed name of the component, defined as 'name' or "name" before the column symbol ":", the leading and trailing blans are omitted | |
value | (output) the parsed value of the component, defined as everything after the column symbol ":" till the end of the string | |
input | (input) string to be parsed |
Vanya BELYAEV ibelyaev@physics.syr.edu
StatusCode Gaudi::Parsers::parse | ( | Gaudi::Histo1DDef & | histo, | |
const std::string & | input | |||
) |
helper function, needed for implementation of "Histogram Property"
histo | the histogram description (output) | |
input | the string to be parsed |
Alexander MAZUROV Alexander.Mazurov@gmail.com
StatusCode Gaudi::Parsers::parse | ( | std::map< std::string, Gaudi::Histo1DDef > & | histos, | |
const std::string & | input | |||
) |
helper function, needed for implementation of "Histogram Property"
histos | the map of the histogram descriptions (output) | |
input | the string to be parsed |
Alexander MAZUROV Alexander.Mazurov@gmail.com