C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::function_compositor< T >::function Struct Reference

#include <exprtk.hpp>

Public Member Functions

 function ()
 function (const std::string &n)
 function (const std::string &name, const std::string &expression)
 function (const std::string &name, const std::string &expression, const std::string &v0)
 function (const std::string &name, const std::string &expression, const std::string &v0, const std::string &v1)
 function (const std::string &name, const std::string &expression, const std::string &v0, const std::string &v1, const std::string &v2)
 function (const std::string &name, const std::string &expression, const std::string &v0, const std::string &v1, const std::string &v2, const std::string &v3)
 function (const std::string &name, const std::string &expression, const std::string &v0, const std::string &v1, const std::string &v2, const std::string &v3, const std::string &v4)
function & name (const std::string &n)
function & expression (const std::string &e)
function & var (const std::string &v)
function & vars (const std::string &v0, const std::string &v1)
function & vars (const std::string &v0, const std::string &v1, const std::string &v2)
function & vars (const std::string &v0, const std::string &v1, const std::string &v2, const std::string &v3)
function & vars (const std::string &v0, const std::string &v1, const std::string &v2, const std::string &v3, const std::string &v4)

Public Attributes

std::string name_
std::string expression_
std::deque< std::string > v_

Detailed Description

template<typename T>
struct exprtk::function_compositor< T >::function

Definition at line 43065 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ function() [1/8]

template<typename T>
exprtk::function_compositor< T >::function::function ( )
inline

Definition at line 43067 of file exprtk.hpp.

43068 {}

Referenced by expression(), name(), var(), vars(), vars(), vars(), and vars().

Here is the caller graph for this function:

◆ function() [2/8]

template<typename T>
exprtk::function_compositor< T >::function::function ( const std::string & n)
inlineexplicit

Definition at line 43070 of file exprtk.hpp.

References name_.

◆ function() [3/8]

template<typename T>
exprtk::function_compositor< T >::function::function ( const std::string & name,
const std::string & expression )
inline

Definition at line 43074 of file exprtk.hpp.

43076 : name_(name)
43078 {}
function & name(const std::string &n)
Definition exprtk.hpp:43133
function & expression(const std::string &e)
Definition exprtk.hpp:43139

References expression(), expression_, name(), and name_.

Here is the call graph for this function:

◆ function() [4/8]

template<typename T>
exprtk::function_compositor< T >::function::function ( const std::string & name,
const std::string & expression,
const std::string & v0 )
inline

Definition at line 43080 of file exprtk.hpp.

43083 : name_(name)
43085 {
43086 v_.push_back(v0);
43087 }
std::deque< std::string > v_
Definition exprtk.hpp:43197

References expression(), expression_, name(), name_, and v_.

Here is the call graph for this function:

◆ function() [5/8]

template<typename T>
exprtk::function_compositor< T >::function::function ( const std::string & name,
const std::string & expression,
const std::string & v0,
const std::string & v1 )
inline

Definition at line 43089 of file exprtk.hpp.

43092 : name_(name)
43094 {
43095 v_.push_back(v0); v_.push_back(v1);
43096 }

References expression(), expression_, name(), name_, and v_.

Here is the call graph for this function:

◆ function() [6/8]

template<typename T>
exprtk::function_compositor< T >::function::function ( const std::string & name,
const std::string & expression,
const std::string & v0,
const std::string & v1,
const std::string & v2 )
inline

Definition at line 43098 of file exprtk.hpp.

43102 : name_(name)
43104 {
43105 v_.push_back(v0); v_.push_back(v1);
43106 v_.push_back(v2);
43107 }

References expression(), expression_, name(), name_, and v_.

Here is the call graph for this function:

◆ function() [7/8]

template<typename T>
exprtk::function_compositor< T >::function::function ( const std::string & name,
const std::string & expression,
const std::string & v0,
const std::string & v1,
const std::string & v2,
const std::string & v3 )
inline

Definition at line 43109 of file exprtk.hpp.

43113 : name_(name)
43115 {
43116 v_.push_back(v0); v_.push_back(v1);
43117 v_.push_back(v2); v_.push_back(v3);
43118 }

References expression(), expression_, name(), name_, and v_.

Here is the call graph for this function:

◆ function() [8/8]

template<typename T>
exprtk::function_compositor< T >::function::function ( const std::string & name,
const std::string & expression,
const std::string & v0,
const std::string & v1,
const std::string & v2,
const std::string & v3,
const std::string & v4 )
inline

Definition at line 43120 of file exprtk.hpp.

43125 : name_(name)
43127 {
43128 v_.push_back(v0); v_.push_back(v1);
43129 v_.push_back(v2); v_.push_back(v3);
43130 v_.push_back(v4);
43131 }

References expression(), expression_, name(), name_, and v_.

Here is the call graph for this function:

Member Function Documentation

◆ expression()

template<typename T>
function & exprtk::function_compositor< T >::function::expression ( const std::string & e)
inline

Definition at line 43139 of file exprtk.hpp.

43140 {
43141 expression_ = e;
43142 return (*this);
43143 }

References expression_, and function().

Referenced by function(), function(), function(), function(), function(), function(), and expression_processor< T >::process_function_definition().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ name()

template<typename T>
function & exprtk::function_compositor< T >::function::name ( const std::string & n)
inline

Definition at line 43133 of file exprtk.hpp.

43134 {
43135 name_ = n;
43136 return (*this);
43137 }

References function(), and name_.

Referenced by function(), function(), function(), function(), function(), and function().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ var()

template<typename T>
function & exprtk::function_compositor< T >::function::var ( const std::string & v)
inline

Definition at line 43145 of file exprtk.hpp.

43146 {
43147 v_.push_back(v);
43148 return (*this);
43149 }

References function(), and v_.

Referenced by expression_processor< T >::process_function_definition().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vars() [1/4]

template<typename T>
function & exprtk::function_compositor< T >::function::vars ( const std::string & v0,
const std::string & v1 )
inline

Definition at line 43151 of file exprtk.hpp.

43153 {
43154 v_.push_back(v0);
43155 v_.push_back(v1);
43156 return (*this);
43157 }

References function(), and v_.

Here is the call graph for this function:

◆ vars() [2/4]

template<typename T>
function & exprtk::function_compositor< T >::function::vars ( const std::string & v0,
const std::string & v1,
const std::string & v2 )
inline

Definition at line 43159 of file exprtk.hpp.

43162 {
43163 v_.push_back(v0);
43164 v_.push_back(v1);
43165 v_.push_back(v2);
43166 return (*this);
43167 }

References function(), and v_.

Here is the call graph for this function:

◆ vars() [3/4]

template<typename T>
function & exprtk::function_compositor< T >::function::vars ( const std::string & v0,
const std::string & v1,
const std::string & v2,
const std::string & v3 )
inline

Definition at line 43169 of file exprtk.hpp.

43173 {
43174 v_.push_back(v0);
43175 v_.push_back(v1);
43176 v_.push_back(v2);
43177 v_.push_back(v3);
43178 return (*this);
43179 }

References function(), and v_.

Here is the call graph for this function:

◆ vars() [4/4]

template<typename T>
function & exprtk::function_compositor< T >::function::vars ( const std::string & v0,
const std::string & v1,
const std::string & v2,
const std::string & v3,
const std::string & v4 )
inline

Definition at line 43181 of file exprtk.hpp.

43186 {
43187 v_.push_back(v0);
43188 v_.push_back(v1);
43189 v_.push_back(v2);
43190 v_.push_back(v3);
43191 v_.push_back(v4);
43192 return (*this);
43193 }

References function(), and v_.

Here is the call graph for this function:

Member Data Documentation

◆ expression_

template<typename T>
std::string exprtk::function_compositor< T >::function::expression_

◆ name_

template<typename T>
std::string exprtk::function_compositor< T >::function::name_

◆ v_

template<typename T>
std::deque<std::string> exprtk::function_compositor< T >::function::v_

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