A representation of a Mathematica expression.  
 More...
#include <Mathematica.hpp>
Inherited by Mathematica::Array< T >, Mathematica::FunctionBase, Mathematica::Integer, Mathematica::Real, Mathematica::String, and Mathematica::Symbol.
|  | 
| 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 representation of a Mathematica expression. 
◆ Type
Type of expression. 
| Enumerator | 
|---|
| String | A string primitive.  | 
| Integer | An integer primitive.  | 
| Real | A real primitive.  | 
| Symbol | A symbol primitive.  | 
| Function | A function.  | 
| Array | An array.  | 
 
 
◆ clone()
Make a copy of the expression. 
- Returns
- a new copy. 
Implemented in ToExpression, TextPacket, Rule, ReturnTextPacket, ReturnPacket, ReturnExpressionPacket, RawArray< T, Dynamic >, RawArray< T, Dim >, OutputNamePacket, MessagePacket, Mathematica::Function, Mathematica::Symbol, Mathematica::Real, Mathematica::Integer, Mathematica::String, ListPlot, List, InputNamePacket, Image, FactorInteger, EvaluatePacket, EnterTextPacket, and EnterExpressionPacket.
 
 
◆ getType()
  
  | 
        
          | virtual Type getType | ( |  | ) | const |  | pure virtual | 
 
 
◆ out()
  
  | 
        
          | virtual void out | ( | std::ostream & | stream | ) | const |  | pure virtual | 
 
 
◆ toList() [1/2]
Helper function for extracting a list of arguments when given as a variable number of arguments. 
- Note
- Only available for C++11 
 
 
◆ toList() [2/2]
  
  | 
        
          | static void toList | ( | std::list< rw::core::Ptr< Type >> & | list, |  
          |  |  | const Exp & | r, |  
          |  |  | T... | t |  
          |  | ) |  |  |  | inlinestaticprotected | 
 
Helper function for extracting a list of arguments when given as a variable number of arguments. 
- Parameters
- 
  
    | list | [in] the list of arguments. |  | r | [in] the first argument. |  | t | [in] the rest of the arguments (variable number of arguments) |  
 
- Note
- Only available for C++11 
 
 
The documentation for this class was generated from the following file: