![]() |
RobWorkProject
23.9.11-
|
An integer primitive. More...
#include <Mathematica.hpp>
Inherits Mathematica::Expression.
Public Types | |
| typedef rw::core::Ptr< Integer > | Ptr |
| Smart pointer type. | |
Public Types inherited from Mathematica::Expression | |
| 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 | |
| Integer (int value) | |
| Construct new integer. More... | |
| virtual | ~Integer () |
| 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... | |
| int | value () const |
| Get the value. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from Mathematica::Expression | |
| 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... | |
An integer primitive.
|
inline |
Construct new integer.
| 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.