Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
exprtk::function_compositor< T > Class Template Reference

#include <exprtk.hpp>

List of all members.

Classes

struct  base_func
struct  func_0param
struct  func_1param
struct  func_2param
struct  func_3param
struct  func_4param
struct  func_5param
struct  func_6param
struct  function

Public Types

typedef exprtk::expression< Texpression_t
typedef exprtk::parser< Tparser_t
typedef exprtk::symbol_table< Tsymbol_table_t

Public Member Functions

bool add (const function &f)
bool add (const std::string &name, const std::string &expression)
bool add (const std::string &name, const std::string &expression, const std::string &v0)
bool add (const std::string &name, const std::string &expression, const std::string &v0, const std::string &v1)
bool add (const std::string &name, const std::string &expression, const std::string &v0, const std::string &v1, const std::string &v2)
bool add (const std::string &name, const std::string &expression, const std::string &v0, const std::string &v1, const std::string &v2, const std::string &v3)
bool add (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)
bool add (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, const std::string &v5)
void clear ()
 function_compositor ()
 function_compositor (const symbol_table_t &st)
symbol_table_tsymbol_table ()

Private Types

typedef const Ttype

Private Member Functions

bool add_variable (const std::string &v, T *&t, std::string &new_var)
template<typename Allocator , template< typename, typename > class Sequence>
bool compile_expression (const std::string &name, const std::string &expression, const Sequence< std::pair< std::string, std::string >, Allocator > &var_transform_list)
bool forward (const std::string &name, const std::size_t &arg_count)
std::string generate_name (const std::string v)
unsigned int get_id ()
template<std::size_t N>
void remove (const std::string &name, const std::string(&v)[N])
void remove (const std::string &name, const std::size_t &arg_count)
bool symbol_used (const std::string &symbol)

Private Attributes

std::map< std::string,
expression_t
expr_map_
std::map< std::string,
func_0param
f0p_map_
std::map< std::string,
func_1param
f1p_map_
std::map< std::string,
func_2param
f2p_map_
std::map< std::string,
func_3param
f3p_map_
std::map< std::string,
func_4param
f4p_map_
std::map< std::string,
func_5param
f5p_map_
std::map< std::string,
func_6param
f6p_map_
unsigned int id_
parser_t parser_
unsigned int suffix_index_
symbol_table_t symbol_table_

Detailed Description

template<typename T>
class exprtk::function_compositor< T >

Definition at line 20615 of file exprtk.hpp.


Member Typedef Documentation

template<typename T >
typedef exprtk::expression<T> exprtk::function_compositor< T >::expression_t

Definition at line 20619 of file exprtk.hpp.

template<typename T >
typedef exprtk::parser<T> exprtk::function_compositor< T >::parser_t

Definition at line 20621 of file exprtk.hpp.

Definition at line 20620 of file exprtk.hpp.

template<typename T >
typedef const T& exprtk::function_compositor< T >::type [private]

Definition at line 20823 of file exprtk.hpp.


Constructor & Destructor Documentation

template<typename T >
exprtk::function_compositor< T >::function_compositor ( ) [inline]

Definition at line 20911 of file exprtk.hpp.

template<typename T >
exprtk::function_compositor< T >::function_compositor ( const symbol_table_t st) [inline]

Definition at line 20916 of file exprtk.hpp.


Member Function Documentation

template<typename T >
bool exprtk::function_compositor< T >::add ( const function f) [inline]

Definition at line 20941 of file exprtk.hpp.

template<typename T >
bool exprtk::function_compositor< T >::add ( const std::string &  name,
const std::string &  expression 
) [inline]

Definition at line 20956 of file exprtk.hpp.

template<typename T >
bool exprtk::function_compositor< T >::add ( const std::string &  name,
const std::string &  expression,
const std::string &  v0 
) [inline]

Definition at line 20976 of file exprtk.hpp.

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

Definition at line 21003 of file exprtk.hpp.

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

Definition at line 21031 of file exprtk.hpp.

template<typename T >
bool exprtk::function_compositor< T >::add ( 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 21061 of file exprtk.hpp.

template<typename T >
bool exprtk::function_compositor< T >::add ( 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 21094 of file exprtk.hpp.

template<typename T >
bool exprtk::function_compositor< T >::add ( 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,
const std::string &  v5 
) [inline]

Definition at line 21129 of file exprtk.hpp.

template<typename T >
bool exprtk::function_compositor< T >::add_variable ( const std::string &  v,
T *&  t,
std::string &  new_var 
) [inline, private]

Definition at line 21198 of file exprtk.hpp.

template<typename T >
void exprtk::function_compositor< T >::clear ( ) [inline]

Definition at line 20927 of file exprtk.hpp.

template<typename T >
template<typename Allocator , template< typename, typename > class Sequence>
bool exprtk::function_compositor< T >::compile_expression ( const std::string &  name,
const std::string &  expression,
const Sequence< std::pair< std::string, std::string >, Allocator > &  var_transform_list 
) [inline, private]

Definition at line 21170 of file exprtk.hpp.

template<typename T >
bool exprtk::function_compositor< T >::forward ( const std::string &  name,
const std::size_t &  arg_count 
) [inline, private]

Definition at line 21241 of file exprtk.hpp.

template<typename T >
std::string exprtk::function_compositor< T >::generate_name ( const std::string  v) [inline, private]

Definition at line 21217 of file exprtk.hpp.

template<typename T >
unsigned int exprtk::function_compositor< T >::get_id ( ) [inline, private]

Definition at line 21225 of file exprtk.hpp.

template<typename T >
template<std::size_t N>
void exprtk::function_compositor< T >::remove ( const std::string &  name,
const std::string(&)  v[N] 
) [inline, private]

Definition at line 21273 of file exprtk.hpp.

template<typename T >
void exprtk::function_compositor< T >::remove ( const std::string &  name,
const std::size_t &  arg_count 
) [inline, private]

Definition at line 21283 of file exprtk.hpp.

template<typename T >
symbol_table_t& exprtk::function_compositor< T >::symbol_table ( ) [inline]

Definition at line 20922 of file exprtk.hpp.

template<typename T >
bool exprtk::function_compositor< T >::symbol_used ( const std::string &  symbol) [inline, private]

Definition at line 21231 of file exprtk.hpp.


Member Data Documentation

template<typename T >
std::map<std::string,expression_t> exprtk::function_compositor< T >::expr_map_ [private]

Definition at line 21318 of file exprtk.hpp.

template<typename T >
std::map<std::string,func_0param> exprtk::function_compositor< T >::f0p_map_ [private]

Definition at line 21319 of file exprtk.hpp.

template<typename T >
std::map<std::string,func_1param> exprtk::function_compositor< T >::f1p_map_ [private]

Definition at line 21320 of file exprtk.hpp.

template<typename T >
std::map<std::string,func_2param> exprtk::function_compositor< T >::f2p_map_ [private]

Definition at line 21321 of file exprtk.hpp.

template<typename T >
std::map<std::string,func_3param> exprtk::function_compositor< T >::f3p_map_ [private]

Definition at line 21322 of file exprtk.hpp.

template<typename T >
std::map<std::string,func_4param> exprtk::function_compositor< T >::f4p_map_ [private]

Definition at line 21323 of file exprtk.hpp.

template<typename T >
std::map<std::string,func_5param> exprtk::function_compositor< T >::f5p_map_ [private]

Definition at line 21324 of file exprtk.hpp.

template<typename T >
std::map<std::string,func_6param> exprtk::function_compositor< T >::f6p_map_ [private]

Definition at line 21325 of file exprtk.hpp.

template<typename T >
unsigned int exprtk::function_compositor< T >::id_ [private]

Definition at line 21327 of file exprtk.hpp.

template<typename T >
parser_t exprtk::function_compositor< T >::parser_ [private]

Definition at line 21317 of file exprtk.hpp.

template<typename T >
unsigned int exprtk::function_compositor< T >::suffix_index_ [private]

Definition at line 21326 of file exprtk.hpp.

template<typename T >
symbol_table_t exprtk::function_compositor< T >::symbol_table_ [private]

Definition at line 21316 of file exprtk.hpp.


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


labust_mission
Author(s): Filip Mandic
autogenerated on Fri Aug 28 2015 11:23:04