A Calculator that alternatively supports Python formulas. See Calculator. More...
#include "Calculator.hpp"
Inheritance diagram for CalculatorWithPythonSupport< ReadAcc, WriteAcc >: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) | |
Public Member Functions inherited from Calculator< ReadAcc, WriteAcc > | |
| 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 &) | |
Public Member Functions inherited from Handle< T, Thread_safe, C, Alloc > | |
| Handle (const Handle &h) | |
| template<class T2 , bool TS2, class C2 , class A2 > | |
| Handle (const Handle< T2, TS2, C2, A2 > &other) | |
| template<class T2 , bool TS2, class C2 , class A2 > | |
| Handle (const Handle< T2, TS2, C2, A2 > &other, const use_static_cast &) | |
| template<class T2 , bool TS2, class C2 , class A2 > | |
| Handle (const Handle< T2, TS2, C2, A2 > &other, const use_dynamic_cast &) | |
| Handle (T *p) | |
| Handle & | operator= (const Handle &h) |
| template<class T2 , bool TS2, class C2 , class A2 > | |
| Handle & | operator= (const Handle< T2, TS2, C2, A2 > &other) |
| Handle & | operator= (T *p) |
| size_type | id () const |
| operator const T & () const | |
| operator T& () | |
| const T * | ptr () const |
| const T & | operator* () const |
| T & | operator* () |
| const T * | operator-> () const |
| T * | operator-> () |
| bool | is_shared () const |
| C | get_count () const |
| T * | 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 Public Member Functions inherited from Calculator< ReadAcc, WriteAcc > | |
| static const char * | help (bool) |
| static const char * | syntax () |
| static bool | exportsPythonType () |
Static Public Member Functions inherited from CustomOptionType< Calculator< ReadAcc, WriteAcc > > | |
| 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 Public Member Functions inherited from CustomOptionType< CalculatorWithPythonSupport< ReadAcc, WriteAcc > > | |
| 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 | |
Public Types inherited from Handle< T, Thread_safe, C, Alloc > | |
| typedef T | element_type |
Public Attributes inherited from Handle< T, Thread_safe, C, Alloc > | |
| const typedef T *(self::* | unspecified_bool_type )() const |
Protected Member Functions inherited from CustomOptionType< Calculator< ReadAcc, WriteAcc > > | |
| ~CustomOptionType () | |
| protected, must be derived from | |
Protected Member Functions inherited from CustomOptionType< CalculatorWithPythonSupport< ReadAcc, WriteAcc > > | |
| ~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