RobWorkProject  23.9.11-
Public Member Functions | List of all members
Mathematica::AutoExpression Class Reference

Convenience class for automatic Expression deduction. More...

#include <Mathematica.hpp>

Public Member Functions

 AutoExpression (const Expression &val)
 Construct from other expression. More...
 
 AutoExpression (double val)
 Construct from double. More...
 
 AutoExpression (float val)
 Construct from float. More...
 
 AutoExpression (int val)
 Construct from int. More...
 
 AutoExpression (bool val)
 Construct from bool. More...
 
 AutoExpression (const std::string &string)
 Construct from string. More...
 
 AutoExpression (const char *string)
 Construct from string. More...
 
 AutoExpression (const std::list< AutoExpression > &args)
 Construct from list of arguments. More...
 
 AutoExpression (const std::initializer_list< Mathematica::AutoExpression > &args)
 Construct from list of arguments. More...
 
Expression::Ptr expression () const
 Get expression. More...
 

Detailed Description

Convenience class for automatic Expression deduction.

Constructor & Destructor Documentation

◆ AutoExpression() [1/9]

AutoExpression ( const Expression val)
inline

Construct from other expression.

Parameters
val[in] the value.

◆ AutoExpression() [2/9]

AutoExpression ( double  val)
inline

Construct from double.

Parameters
val[in] the value.

◆ AutoExpression() [3/9]

AutoExpression ( float  val)
inline

Construct from float.

Parameters
val[in] the value.

◆ AutoExpression() [4/9]

AutoExpression ( int  val)
inline

Construct from int.

Parameters
val[in] the value.

◆ AutoExpression() [5/9]

AutoExpression ( bool  val)
inline

Construct from bool.

Parameters
val[in] the value.

◆ AutoExpression() [6/9]

AutoExpression ( const std::string &  string)
inline

Construct from string.

Parameters
string[in] the value.

◆ AutoExpression() [7/9]

AutoExpression ( const char *  string)
inline

Construct from string.

Parameters
string[in] the value.

◆ AutoExpression() [8/9]

AutoExpression ( const std::list< AutoExpression > &  args)

Construct from list of arguments.

Parameters
args[in] the arguments.

◆ AutoExpression() [9/9]

AutoExpression ( const std::initializer_list< Mathematica::AutoExpression > &  args)

Construct from list of arguments.

Parameters
args[in] the arguments.
Note
Only defined for C++11

Member Function Documentation

◆ expression()

Expression::Ptr expression ( ) const
inline

Get expression.

Returns
the expression.

The documentation for this class was generated from the following file: