GranOO  3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
exprtk::details::function_N_node< T, IFunction, N > Class Template Reference

#include <Exprtk.hpp>

Inheritance diagram for exprtk::details::function_N_node< T, IFunction, N >:
Inheritance graph
[legend]

Classes

struct  evaluate_branches
 
struct  evaluate_branches< T_, 1 >
 
struct  evaluate_branches< T_, 2 >
 
struct  evaluate_branches< T_, 3 >
 
struct  evaluate_branches< T_, 4 >
 
struct  evaluate_branches< T_, 5 >
 
struct  invoke
 
struct  invoke< T_, 1 >
 
struct  invoke< T_, 10 >
 
struct  invoke< T_, 11 >
 
struct  invoke< T_, 12 >
 
struct  invoke< T_, 13 >
 
struct  invoke< T_, 14 >
 
struct  invoke< T_, 15 >
 
struct  invoke< T_, 16 >
 
struct  invoke< T_, 17 >
 
struct  invoke< T_, 18 >
 
struct  invoke< T_, 19 >
 
struct  invoke< T_, 2 >
 
struct  invoke< T_, 20 >
 
struct  invoke< T_, 3 >
 
struct  invoke< T_, 4 >
 
struct  invoke< T_, 5 >
 
struct  invoke< T_, 6 >
 
struct  invoke< T_, 7 >
 
struct  invoke< T_, 8 >
 
struct  invoke< T_, 9 >
 

Public Types

typedef expression_node< T > * expression_ptr
 
typedef std::pair< expression_ptr, bool > branch_t
 
typedef IFunction ifunction
 
- Public Types inherited from exprtk::details::expression_node< 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_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_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

 function_N_node (ifunction *func)
 
 ~function_N_node ()
 
template<std::size_t NumBranches>
bool init_branches (expression_ptr(&b)[NumBranches])
 
bool operator< (const function_N_node< T, IFunction, N > &fn) const
 
value () const
 
expression_node< T >::node_type type () const
 
- Public Member Functions inherited from exprtk::details::expression_node< T >
virtual ~expression_node ()
 
virtual expression_node< T > * branch (const std::size_t &index=0) const
 

Private Attributes

ifunctionfunction_
 
std::size_t parameter_count_
 
branch_t branch_ [N]
 

Member Typedef Documentation

◆ branch_t

template<typename T , typename IFunction , std::size_t N>
typedef std::pair<expression_ptr,bool> exprtk::details::function_N_node< T, IFunction, N >::branch_t

◆ expression_ptr

template<typename T , typename IFunction , std::size_t N>
typedef expression_node<T>* exprtk::details::function_N_node< T, IFunction, N >::expression_ptr

◆ ifunction

template<typename T , typename IFunction , std::size_t N>
typedef IFunction exprtk::details::function_N_node< T, IFunction, N >::ifunction

Constructor & Destructor Documentation

◆ function_N_node()

template<typename T , typename IFunction , std::size_t N>
exprtk::details::function_N_node< T, IFunction, N >::function_N_node ( ifunction func)
inline

◆ ~function_N_node()

template<typename T , typename IFunction , std::size_t N>
exprtk::details::function_N_node< T, IFunction, N >::~function_N_node ( )
inline

Member Function Documentation

◆ init_branches()

template<typename T , typename IFunction , std::size_t N>
template<std::size_t NumBranches>
bool exprtk::details::function_N_node< T, IFunction, N >::init_branches ( expression_ptr(&)  b[NumBranches])
inline

◆ operator<()

template<typename T , typename IFunction , std::size_t N>
bool exprtk::details::function_N_node< T, IFunction, N >::operator< ( const function_N_node< T, IFunction, N > &  fn) const
inline

◆ type()

template<typename T , typename IFunction , std::size_t N>
expression_node<T>::node_type exprtk::details::function_N_node< T, IFunction, N >::type ( ) const
inlinevirtual

◆ value()

template<typename T , typename IFunction , std::size_t N>
T exprtk::details::function_N_node< T, IFunction, N >::value ( ) const
inlinevirtual

Member Data Documentation

◆ branch_

template<typename T , typename IFunction , std::size_t N>
branch_t exprtk::details::function_N_node< T, IFunction, N >::branch_[N]
private

◆ function_

template<typename T , typename IFunction , std::size_t N>
ifunction* exprtk::details::function_N_node< T, IFunction, N >::function_
private

◆ parameter_count_

template<typename T , typename IFunction , std::size_t N>
std::size_t exprtk::details::function_N_node< T, IFunction, N >::parameter_count_
private

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