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.
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).
Set equation parameters.
- Parameters
-
equation | equation parameters |
Definition at line 44 of file JEquation_t.hh.
static JEquationParameters & getEquationParameters()
Get equation parameters.
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);
const std::string& JLANG::JEquation::getKey |
( |
| ) |
const |
|
inlineinherited |
const char JLANG::JEquation::getSeparator |
( |
| ) |
const |
|
inlineinherited |
Get separator.
- Returns
- separator
Definition at line 174 of file JEquation.hh.
const std::string& JLANG::JEquation::getValue |
( |
| ) |
const |
|
inlineinherited |
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()));
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
virtual JEquationFacet * clone() const override
Clone this facet.
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.
Extract equation.
- Parameters
-
- Returns
- equation
Definition at line 352 of file JEquation.hh.
JEquation()
Default constructor.
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 std::string & getValue() const
Get value.
const char getSeparator() const
Get separator.
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).
Simple data structure to support I/O of equations (see class JLANG::JEquation).
General purpose equation class.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
char JLANG::JEquation::sep |
|
protectedinherited |
The documentation for this struct was generated from the following file: