A typed version of DM::ICalculator. See Calculator. More...
#include "Calculator.hpp"
Inheritance diagram for Calculator< ReadAcc, WriteAcc >:Public Member Functions | |
| Calculator & | operator= (const Calculator &) |
| String | text () const |
| The text that was passed to the constructor. | |
construction | |
Constructs a new calculator based on | |
| 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 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) | |
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 | |
A typed version of DM::ICalculator. See Calculator.
| ReadAcc | read access |
| WriteAcc | write access |
Derives from a handle for simplicity, but every object holds its own clone.
See Calculator
| Calculator | ( | const String & | text = String() | ) |
If text is empty or "pass", results in an empty base handle.