Main MRPT website > C++ reference for MRPT 1.5.3
List of all members | Public Types | Public Member Functions | Static Public Attributes | Private Attributes
exprtk::details::variable_node< T > Class Template Reference

Detailed Description

template<typename T>
class exprtk::details::variable_node< T >

Definition at line 6674 of file exprtk.hpp.

#include <mrpt/otherlibs/exprtk.hpp>

Inheritance diagram for exprtk::details::variable_node< T >:
Inheritance graph

Public Types

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 expression_node< T > * expression_ptr
 

Public Member Functions

 variable_node ()
 
 variable_node (T &v)
 
bool operator< (const variable_node< T > &v) const
 
value () const
 
T & ref ()
 
const T & ref () const
 
expression_node< T >::node_type type () const
 
virtual expression_node< T > * branch (const std::size_t &index=0) const
 

Static Public Attributes

static T null_value = T(std::numeric_limits<T>::quiet_NaN())
 

Private Attributes

T * value_
 

Member Typedef Documentation

◆ expression_ptr

template<typename T>
typedef expression_node<T>* exprtk::details::expression_node< T >::expression_ptr
inherited

Definition at line 4854 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.

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

◆ variable_node() [1/2]

template<typename T>
exprtk::details::variable_node< T >::variable_node ( )
inlineexplicit

Definition at line 6681 of file exprtk.hpp.

◆ variable_node() [2/2]

template<typename T>
exprtk::details::variable_node< T >::variable_node ( T &  v)
inline

Definition at line 6685 of file exprtk.hpp.

Member Function Documentation

◆ branch()

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

◆ operator<()

template<typename T>
bool exprtk::details::variable_node< T >::operator< ( const variable_node< T > &  v) const
inline

Definition at line 6689 of file exprtk.hpp.

◆ ref() [1/2]

template<typename T>
T& exprtk::details::variable_node< T >::ref ( )
inlinevirtual

◆ ref() [2/2]

template<typename T>
const T& exprtk::details::variable_node< T >::ref ( ) const
inlinevirtual

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

Definition at line 6704 of file exprtk.hpp.

◆ type()

template<typename T>
expression_node<T>::node_type exprtk::details::variable_node< T >::type ( ) const
inlinevirtual

Reimplemented from exprtk::details::expression_node< T >.

Definition at line 6709 of file exprtk.hpp.

◆ value()

template<typename T>
T exprtk::details::variable_node< T >::value ( ) const
inlinevirtual

Reimplemented from exprtk::details::expression_node< T >.

Definition at line 6694 of file exprtk.hpp.

Member Data Documentation

◆ null_value

template<typename T>
T exprtk::details::variable_node< T >::null_value = T(std::numeric_limits<T>::quiet_NaN())
static

Definition at line 6679 of file exprtk.hpp.

◆ value_

template<typename T>
T* exprtk::details::variable_node< T >::value_
private

Definition at line 6716 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