A Calculator that alternatively supports Python formulas. See Calculator. More...
#include "Calculator.hpp"
Public Member Functions | |
String | text () const |
The text that was passed to the constructor. | |
bool | isPythonFormula () const |
Returns true if text starts with "python:". | |
String | pyText () const |
text without the prefix indicating Python syntax. | |
construction | |
Constructs a new calculator based on | |
CalculatorWithPythonSupport (const String &text=String()) | |
CalculatorWithPythonSupport (const char *text) | |
![]() | |
Calculator & | operator= (const Calculator &) |
String | text () const |
The text that was passed to the constructor. | |
Calculator (const String &text=String()) | |
Calculator (const char *text) | |
Calculator (const Calculator &) | |
![]() | |
Handle (const Handle &h) | |
Handle (const Handle< T2, TS2, C2, A2 > &other) | |
Handle (const Handle< T2, TS2, C2, A2 > &other, const use_static_cast &) | |
Handle (const Handle< T2, TS2, C2, A2 > &other, const use_dynamic_cast &) | |
Handle (ICalculator *p) | |
Handle & | operator= (const Handle &h) |
Handle & | operator= (const Handle< T2, TS2, C2, A2 > &other) |
Handle & | operator= (ICalculator *p) |
size_type | id () const |
operator const ICalculator & () const | |
operator ICalculator & () | |
const ICalculator * | ptr () const |
const ICalculator & | operator* () const |
ICalculator & | operator* () |
const ICalculator * | operator-> () const |
ICalculator * | operator-> () |
bool | is_shared () const |
unsigned int | get_count () const |
ICalculator * | release () |
void | swap (Handle &h) |
void | reset () |
Handle | clone () const |
bool | operator== (const Handle &h) const |
bool | operator!= (const Handle &h) const |
bool | operator> (const Handle &h) const |
bool | operator< (const Handle &h) const |
operator unspecified_bool_type () const | |
Static Public Member Functions | |
static const char * | help (bool) |
![]() | |
static const char * | help (bool) |
static const char * | syntax () |
static bool | exportsPythonType () |
![]() | |
static const char * | _help (bool forDoxygen) |
get general help on this type | |
static const char * | _syntax () |
get the syntax used for parsing this type | |
static bool | _exportsPythonType () |
returns true if this type is exposed to Python as a custom type, false otherwise (if it is represented as Python-string) | |
![]() | |
static const char * | _help (bool forDoxygen) |
get general help on this type | |
static const char * | _syntax () |
get the syntax used for parsing this type | |
static bool | _exportsPythonType () |
returns true if this type is exposed to Python as a custom type, false otherwise (if it is represented as Python-string) | |
Additional Inherited Members | |
![]() | |
typedef ICalculator | element_type |
![]() | |
const typedef ICalculator *(self::* | unspecified_bool_type )() const |
![]() | |
~CustomOptionType () | |
protected, must be derived from | |
![]() | |
~CustomOptionType () | |
protected, must be derived from | |
A Calculator that alternatively supports Python formulas. See Calculator.
ReadAcc | read access |
WriteAcc | write access |
Prefix text
with pythonPrefix() to indicate usage of Python syntax.
See Calculator