Auxiliary data structure to read equations.
More...
#include <JEquation_t.hh>
Auxiliary data structure to read equations.
Definition at line 23 of file JEquation_t.hh.
◆ getEquationParameters()
Get equation parameters.
- Returns
- equation parameters
Definition at line 31 of file JEquation_t.hh.
Simple data structure to support I/O of equations (see class JLANG::JEquation).
◆ setEquationParameters()
Set equation parameters.
- Parameters
-
equation | equation parameters |
Definition at line 44 of file JEquation_t.hh.
static JEquationParameters & getEquationParameters()
Get equation parameters.
◆ make_equation()
template<class T >
static equation_type<T> JLANG::JEquation::make_equation |
( |
const std::string & |
key, |
|
|
const T & |
value |
|
) |
| |
|
inlinestaticinherited |
Auxiliary method to create equation type.
- Parameters
-
Definition at line 117 of file JEquation.hh.
119 return equation_type<T>(
key,
value);
◆ getKey()
const std::string& JLANG::JEquation::getKey |
( |
| ) |
const |
|
inlineinherited |
◆ getSeparator()
const char JLANG::JEquation::getSeparator |
( |
| ) |
const |
|
inlineinherited |
Get separator.
- Returns
- separator
Definition at line 174 of file JEquation.hh.
◆ getValue()
const std::string& JLANG::JEquation::getValue |
( |
| ) |
const |
|
inlineinherited |
◆ setEquation() [1/2]
Set equation.
- Parameters
-
- Returns
- this equation
Definition at line 317 of file JEquation.hh.
321 istringstream in(buffer);
323 in.imbue(locale(in.getloc(), facet.
clone()));
virtual JEquationFacet * clone() const override
Clone this facet.
◆ setEquation() [2/2]
Set this equation to its value.
- Parameters
-
- Returns
- this equation
Definition at line 337 of file JEquation.hh.
const std::string & getValue() const
Get value.
JEquation & setEquation(const std::string &buffer, const JEquationFacet &facet)
Set equation.
◆ valueOf()
Extract equation.
- Parameters
-
- Returns
- equation
Definition at line 352 of file JEquation.hh.
JEquation()
Default constructor.
◆ toString()
std::string JLANG::JEquation::toString |
( |
| ) |
const |
|
inlineinherited |
Convert equation to string.
- Returns
- string
Definition at line 363 of file JEquation.hh.
const std::string & getKey() const
Get key.
const char getSeparator() const
Get separator.
◆ operator>>
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JEquation_t & |
equation |
|
) |
| |
|
friend |
Read equation from input stream.
- Parameters
-
in | input stream |
equation | equation |
- Returns
- input stream
Definition at line 57 of file JEquation_t.hh.
Facet class to specify parsing of equations in currect locale (see class JLANG::JEquation).
General purpose equation class.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
◆ key
◆ sep
char JLANG::JEquation::sep |
|
protectedinherited |
◆ value
The documentation for this struct was generated from the following file: