Main MRPT website > C++ reference for MRPT 1.5.3
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
exprtk::details::string_function_node< T, StringFunction > Class Template Reference

Detailed Description

template<typename T, typename StringFunction>
class exprtk::details::string_function_node< T, StringFunction >

Definition at line 11488 of file exprtk.hpp.

#include <mrpt/otherlibs/exprtk.hpp>

Inheritance diagram for exprtk::details::string_function_node< T, StringFunction >:
Inheritance graph

Public Types

typedef generic_function_node< T, StringFunction > gen_function_t
 
typedef range_pack< T > range_t
 
typedef type_store< T > type_store_t
 
typedef expression_node< T > * expression_ptr
 
typedef variable_node< T > variable_node_t
 
typedef vector_node< T > vector_node_t
 
typedef variable_node_tvariable_node_ptr_t
 
typedef vector_node_tvector_node_ptr_t
 
typedef range_interface< T > range_interface_t
 
typedef range_data_type< T > range_data_type_t
 
typedef std::pair< expression_ptr, bool > branch_t
 
typedef std::pair< void *, std::size_t > void_t
 
typedef std::vector< T > tmp_vs_t
 
typedef std::vector< type_store_ttypestore_list_t
 
typedef std::vector< range_data_type_trange_list_t
 
enum  node_type {
  e_none, e_null, e_constant, e_unary,
  e_binary, e_binary_ext, e_trinary, e_quaternary,
  e_vararg, e_conditional, e_while, e_repeat,
  e_for, e_switch, e_mswitch, e_return,
  e_retenv, e_variable, e_stringvar, e_stringconst,
  e_stringvarrng, e_cstringvarrng, e_strgenrange, e_strconcat,
  e_stringvarsize, e_strswap, e_stringsize, e_stringvararg,
  e_function, e_vafunction, e_genfunction, e_strfunction,
  e_strcondition, e_strccondition, e_add, e_sub,
  e_mul, e_div, e_mod, e_pow,
  e_lt, e_lte, e_gt, e_gte,
  e_eq, e_ne, e_and, e_nand,
  e_or, e_nor, e_xor, e_xnor,
  e_in, e_like, e_ilike, e_inranges,
  e_ipow, e_ipowinv, e_abs, e_acos,
  e_acosh, e_asin, e_asinh, e_atan,
  e_atanh, e_ceil, e_cos, e_cosh,
  e_exp, e_expm1, e_floor, e_log,
  e_log10, e_log2, e_log1p, e_neg,
  e_pos, e_round, e_sin, e_sinc,
  e_sinh, e_sqrt, e_tan, e_tanh,
  e_cot, e_sec, e_csc, e_r2d,
  e_d2r, e_d2g, e_g2d, e_notl,
  e_sgn, e_erf, e_erfc, e_ncdf,
  e_frac, e_trunc, e_uvouv, e_vov,
  e_cov, e_voc, e_vob, e_bov,
  e_cob, e_boc, e_vovov, e_vovoc,
  e_vocov, e_covov, e_covoc, e_vovovov,
  e_vovovoc, e_vovocov, e_vocovov, e_covovov,
  e_covocov, e_vocovoc, e_covovoc, e_vococov,
  e_sf3ext, e_sf4ext, e_nulleq, e_strass,
  e_vector, e_vecelem, e_rbvecelem, e_rbveccelem,
  e_vecdefass, e_vecvalass, e_vecvecass, e_vecopvalass,
  e_vecopvecass, e_vecfunc, e_vecvecswap, e_vecvecineq,
  e_vecvalineq, e_valvecineq, e_vecvecarith, e_vecvalarith,
  e_valvecarith, e_vecunaryop, e_break, e_continue,
  e_swap
}
 
typedef T value_type
 
typedef range_data_type< T > range_data_type_t
 

Public Member Functions

 string_function_node (StringFunction *func, const std::vector< typename gen_function_t::expression_ptr > &arg_list)
 
bool operator< (const string_function_node< T, StringFunction > &fn) const
 
value () const
 
expression_node< T >::node_type type () const
 
std::string str () const
 
const char * base () const
 
std::size_t size () const
 
range_trange_ref ()
 
const range_trange_ref () const
 
virtual bool init_branches ()
 
bool operator< (const generic_function_node< T, StringFunction > &fn) const
 
virtual expression_node< T > * branch (const std::size_t &index=0) const
 

Protected Member Functions

virtual bool populate_value_list () const
 

Protected Attributes

range_t range_
 
std::string ret_string_
 
StringFunction * function_
 
typestore_list_t typestore_list_
 

Member Typedef Documentation

◆ branch_t

typedef std::pair<expression_ptr,bool> exprtk::details::generic_function_node< T, StringFunction >::branch_t
inherited

Definition at line 11309 of file exprtk.hpp.

◆ expression_ptr

typedef expression_node<T>* exprtk::details::generic_function_node< T, StringFunction >::expression_ptr
inherited

Definition at line 11301 of file exprtk.hpp.

◆ gen_function_t

template<typename T , typename StringFunction >
typedef generic_function_node<T,StringFunction> exprtk::details::string_function_node< T, StringFunction >::gen_function_t

Definition at line 11494 of file exprtk.hpp.

◆ range_data_type_t [1/2]

template<typename T>
typedef range_data_type<T> exprtk::details::string_base_node< T >::range_data_type_t
inherited

Definition at line 5477 of file exprtk.hpp.

◆ range_data_type_t [2/2]

typedef range_data_type<T> exprtk::details::generic_function_node< T, StringFunction >::range_data_type_t
inherited

Definition at line 11307 of file exprtk.hpp.

◆ range_interface_t

typedef range_interface<T> exprtk::details::generic_function_node< T, StringFunction >::range_interface_t
inherited

Definition at line 11306 of file exprtk.hpp.

◆ range_list_t

typedef std::vector<range_data_type_t> exprtk::details::generic_function_node< T, StringFunction >::range_list_t
inherited

Definition at line 11313 of file exprtk.hpp.

◆ range_t

template<typename T , typename StringFunction >
typedef range_pack<T> exprtk::details::string_function_node< T, StringFunction >::range_t

Definition at line 11495 of file exprtk.hpp.

◆ tmp_vs_t

typedef std::vector<T> exprtk::details::generic_function_node< T, StringFunction >::tmp_vs_t
inherited

Definition at line 11311 of file exprtk.hpp.

◆ type_store_t

typedef type_store<T> exprtk::details::generic_function_node< T, StringFunction >::type_store_t
inherited

Definition at line 11300 of file exprtk.hpp.

◆ typestore_list_t

typedef std::vector<type_store_t> exprtk::details::generic_function_node< T, StringFunction >::typestore_list_t
inherited

Definition at line 11312 of file exprtk.hpp.

◆ value_type

template<typename T>
typedef T exprtk::details::expression_node< T >::value_type
inherited

Definition at line 4853 of file exprtk.hpp.

◆ variable_node_ptr_t

Definition at line 11304 of file exprtk.hpp.

◆ variable_node_t

typedef variable_node<T> exprtk::details::generic_function_node< T, StringFunction >::variable_node_t
inherited

Definition at line 11302 of file exprtk.hpp.

◆ vector_node_ptr_t

Definition at line 11305 of file exprtk.hpp.

◆ vector_node_t

typedef vector_node<T> exprtk::details::generic_function_node< T, StringFunction >::vector_node_t
inherited

Definition at line 11303 of file exprtk.hpp.

◆ void_t

typedef std::pair<void*,std::size_t> exprtk::details::generic_function_node< T, StringFunction >::void_t
inherited

Definition at line 11310 of file exprtk.hpp.

Member Enumeration Documentation

◆ node_type

template<typename T>
enum exprtk::details::expression_node::node_type
inherited
Enumerator
e_none 
e_null 
e_constant 
e_unary 
e_binary 
e_binary_ext 
e_trinary 
e_quaternary 
e_vararg 
e_conditional 
e_while 
e_repeat 
e_for 
e_switch 
e_mswitch 
e_return 
e_retenv 
e_variable 
e_stringvar 
e_stringconst 
e_stringvarrng 
e_cstringvarrng 
e_strgenrange 
e_strconcat 
e_stringvarsize 
e_strswap 
e_stringsize 
e_stringvararg 
e_function 
e_vafunction 
e_genfunction 
e_strfunction 
e_strcondition 
e_strccondition 
e_add 
e_sub 
e_mul 
e_div 
e_mod 
e_pow 
e_lt 
e_lte 
e_gt 
e_gte 
e_eq 
e_ne 
e_and 
e_nand 
e_or 
e_nor 
e_xor 
e_xnor 
e_in 
e_like 
e_ilike 
e_inranges 
e_ipow 
e_ipowinv 
e_abs 
e_acos 
e_acosh 
e_asin 
e_asinh 
e_atan 
e_atanh 
e_ceil 
e_cos 
e_cosh 
e_exp 
e_expm1 
e_floor 
e_log 
e_log10 
e_log2 
e_log1p 
e_neg 
e_pos 
e_round 
e_sin 
e_sinc 
e_sinh 
e_sqrt 
e_tan 
e_tanh 
e_cot 
e_sec 
e_csc 
e_r2d 
e_d2r 
e_d2g 
e_g2d 
e_notl 
e_sgn 
e_erf 
e_erfc 
e_ncdf 
e_frac 
e_trunc 
e_uvouv 
e_vov 
e_cov 
e_voc 
e_vob 
e_bov 
e_cob 
e_boc 
e_vovov 
e_vovoc 
e_vocov 
e_covov 
e_covoc 
e_vovovov 
e_vovovoc 
e_vovocov 
e_vocovov 
e_covovov 
e_covocov 
e_vocovoc 
e_covovoc 
e_vococov 
e_sf3ext 
e_sf4ext 
e_nulleq 
e_strass 
e_vector 
e_vecelem 
e_rbvecelem 
e_rbveccelem 
e_vecdefass 
e_vecvalass 
e_vecvecass 
e_vecopvalass 
e_vecopvecass 
e_vecfunc 
e_vecvecswap 
e_vecvecineq 
e_vecvalineq 
e_valvecineq 
e_vecvecarith 
e_vecvalarith 
e_valvecarith 
e_vecunaryop 
e_break 
e_continue 
e_swap 

Definition at line 4812 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ string_function_node()

template<typename T , typename StringFunction >
exprtk::details::string_function_node< T, StringFunction >::string_function_node ( StringFunction *  func,
const std::vector< typename gen_function_t::expression_ptr > &  arg_list 
)
inline

Definition at line 11497 of file exprtk.hpp.

Member Function Documentation

◆ base()

template<typename T , typename StringFunction >
const char* exprtk::details::string_function_node< T, StringFunction >::base ( ) const
inlinevirtual

Implements exprtk::details::string_base_node< T >.

Definition at line 11545 of file exprtk.hpp.

◆ branch()

template<typename T>
virtual expression_node<T>* exprtk::details::expression_node< T >::branch ( const std::size_t &  index = 0) const
inlinevirtualinherited

◆ init_branches()

virtual bool exprtk::details::generic_function_node< T, StringFunction >::init_branches ( )
inlinevirtualinherited

Definition at line 11326 of file exprtk.hpp.

◆ operator<() [1/2]

bool exprtk::details::generic_function_node< T, StringFunction >::operator< ( const generic_function_node< T, StringFunction > &  fn) const
inlineinherited

Definition at line 11411 of file exprtk.hpp.

◆ operator<() [2/2]

template<typename T , typename StringFunction >
bool exprtk::details::string_function_node< T, StringFunction >::operator< ( const string_function_node< T, StringFunction > &  fn) const
inline

Definition at line 11507 of file exprtk.hpp.

◆ populate_value_list()

virtual bool exprtk::details::generic_function_node< T, StringFunction >::populate_value_list ( ) const
inlineprotectedvirtualinherited

Definition at line 11438 of file exprtk.hpp.

◆ range_ref() [1/2]

template<typename T , typename StringFunction >
range_t& exprtk::details::string_function_node< T, StringFunction >::range_ref ( )
inlinevirtual

Implements exprtk::details::range_interface< T >.

Definition at line 11555 of file exprtk.hpp.

◆ range_ref() [2/2]

template<typename T , typename StringFunction >
const range_t& exprtk::details::string_function_node< T, StringFunction >::range_ref ( ) const
inlinevirtual

Implements exprtk::details::range_interface< T >.

Definition at line 11560 of file exprtk.hpp.

◆ size()

template<typename T , typename StringFunction >
std::size_t exprtk::details::string_function_node< T, StringFunction >::size ( ) const
inlinevirtual

Implements exprtk::details::string_base_node< T >.

Definition at line 11550 of file exprtk.hpp.

◆ str()

template<typename T , typename StringFunction >
std::string exprtk::details::string_function_node< T, StringFunction >::str ( ) const
inlinevirtual

Implements exprtk::details::string_base_node< T >.

Definition at line 11540 of file exprtk.hpp.

◆ type()

template<typename T , typename StringFunction >
expression_node<T>::node_type exprtk::details::string_function_node< T, StringFunction >::type ( ) const
inlinevirtual

◆ value()

template<typename T , typename StringFunction >
T exprtk::details::string_function_node< T, StringFunction >::value ( ) const
inlinevirtual

Member Data Documentation

◆ function_

StringFunction * exprtk::details::generic_function_node< T, StringFunction >::function_
protectedinherited

Definition at line 11475 of file exprtk.hpp.

◆ range_

template<typename T , typename StringFunction >
range_t exprtk::details::string_function_node< T, StringFunction >::range_
mutableprotected

Definition at line 11567 of file exprtk.hpp.

◆ ret_string_

template<typename T , typename StringFunction >
std::string exprtk::details::string_function_node< T, StringFunction >::ret_string_
mutableprotected

Definition at line 11568 of file exprtk.hpp.

◆ typestore_list_

typestore_list_t exprtk::details::generic_function_node< T, StringFunction >::typestore_list_
mutableprotectedinherited

Definition at line 11476 of file exprtk.hpp.




Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Mon Oct 30 10:27:08 UTC 2017