A base interface for function expressions.  
 More...
#include <Mathematica.hpp>
Inherits Mathematica::Expression.
Inherited by FactorInteger, Image, List, ListPlot, Mathematica::Function, Mathematica::Packet, Rule, and ToExpression.
 | 
| 
std::string  | _name | 
|   | Name of the function. 
  | 
|   | 
 | 
| 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 base interface for function expressions. 
 
◆ FunctionBase()
Construct new function. 
- Parameters
 - 
  
    | name | [in] the name of the function.  | 
  
   
 
 
◆ getArguments()
Get a list of arguments for this function. 
- Returns
 - list of arguments. 
 
Implemented in ToExpression, TextPacket, Rule, ReturnTextPacket, ReturnPacket, ReturnExpressionPacket, OutputNamePacket, MessagePacket, Mathematica::Function, ListPlot, List, InputNamePacket, Image, FactorInteger, EvaluatePacket, EnterTextPacket, and EnterExpressionPacket.
 
 
◆ getName()
      
        
          | std::string getName  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get the name of the function. 
- Returns
 - the name of the function. 
 
 
 
◆ getType()
◆ out() [1/2]
  
  
      
        
          | virtual void out  | 
          ( | 
          std::ostream &  | 
          stream | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ out() [2/2]
  
  
      
        
          | virtual void out  | 
          ( | 
          std::ostream &  | 
          stream,  | 
         
        
           | 
           | 
          std::size_t  | 
          indent  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
virtual   | 
  
 
Print function by using indentations. 
- Parameters
 - 
  
    | stream | [in/out] the output stream.  | 
    | indent | [in] the amount of indentation.  | 
  
   
 
 
The documentation for this class was generated from the following file: