![]() |
RobWorkProject
23.9.11-
|
A real primitive. More...
#include <Mathematica.hpp>
Inherits Mathematica::Expression.
Public Types | |
typedef rw::core::Ptr< Real > | Ptr |
Smart pointer type. | |
![]() | |
enum | Type { String , Integer , Real , Symbol , Function , Array } |
Type of expression. More... | |
typedef rw::core::Ptr< Expression > | Ptr |
Smart pointer type. | |
typedef enum rwlibs::mathematica::Mathematica::Expression::Type | Type |
Type of expression. | |
Public Member Functions | |
Real (double value) | |
Construct new floating point value. More... | |
virtual | ~Real () |
Destructor. | |
Type | getType () const |
Get the type of expression. More... | |
void | out (std::ostream &stream) const |
Print to output stream. More... | |
virtual Expression::Ptr | clone () const |
Make a copy of the expression. More... | |
double | value () const |
Get the value. More... | |
Additional Inherited Members | |
![]() | |
template<typename Type > | |
static void | toList (std::list< rw::core::Ptr< Type >> &) |
Helper function for extracting a list of arguments when given as a variable number of arguments. More... | |
template<typename Type , typename Exp , typename... T> | |
static void | toList (std::list< rw::core::Ptr< Type >> &list, const Exp &r, T... t) |
Helper function for extracting a list of arguments when given as a variable number of arguments. More... | |
A real primitive.
|
inline |
Construct new floating point value.
value | [in] the value. |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Print to output stream.
stream | [in/out] the stream to print to. |
Implements Mathematica::Expression.
|
inline |
Get the value.