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

Detailed Description

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

Definition at line 15803 of file exprtk.hpp.

#include <mrpt/otherlibs/exprtk.hpp>

Inheritance diagram for exprtk::igeneric_function< T >:
Inheritance graph

Public Types

enum  return_type { e_rtrn_scalar = 0, e_rtrn_string = 1 }
 
typedef T type
 
typedef type_store< T > generic_type
 
typedef generic_type::parameter_list parameter_list_t
 

Public Member Functions

 igeneric_function (const std::string &param_seq="", const return_type rtr_type=e_rtrn_scalar)
 
virtual ~igeneric_function ()
 
bool & allow_zero_parameters ()
 
bool & has_side_effects ()
 
std::size_t & min_num_args ()
 
std::size_t & max_num_args ()
 

Public Attributes

virtual T operator()(parameter_list_t) igeneric_function_empty_body(1) inline virtual T operator()(std return_type rtrn_type
 

Member Typedef Documentation

◆ generic_type

template<typename T>
typedef type_store<T> exprtk::igeneric_function< T >::generic_type

Definition at line 15814 of file exprtk.hpp.

◆ parameter_list_t

Definition at line 15815 of file exprtk.hpp.

◆ type

template<typename T>
typedef T exprtk::igeneric_function< T >::type

Definition at line 15813 of file exprtk.hpp.

Member Enumeration Documentation

◆ return_type

template<typename T>
enum exprtk::igeneric_function::return_type
Enumerator
e_rtrn_scalar 
e_rtrn_string 

Definition at line 15807 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ igeneric_function()

template<typename T>
exprtk::igeneric_function< T >::igeneric_function ( const std::string &  param_seq = "",
const return_type  rtr_type = e_rtrn_scalar 
)
inline

Definition at line 15817 of file exprtk.hpp.

◆ ~igeneric_function()

template<typename T>
virtual exprtk::igeneric_function< T >::~igeneric_function ( )
inlinevirtual

Definition at line 15822 of file exprtk.hpp.

Member Function Documentation

◆ allow_zero_parameters()

bool& exprtk::function_traits::allow_zero_parameters ( )
inlineinherited

Definition at line 15620 of file exprtk.hpp.

Referenced by exprtk::parser< T >::parse_vararg_function_call().

◆ has_side_effects()

bool& exprtk::function_traits::has_side_effects ( )
inlineinherited

◆ max_num_args()

std::size_t& exprtk::function_traits::max_num_args ( )
inlineinherited

Definition at line 15635 of file exprtk.hpp.

Referenced by exprtk::parser< T >::parse_vararg_function_call().

◆ min_num_args()

std::size_t& exprtk::function_traits::min_num_args ( )
inlineinherited

Definition at line 15630 of file exprtk.hpp.

Referenced by exprtk::parser< T >::parse_vararg_function_call().

Member Data Documentation

◆ rtrn_type

template<typename T>
virtual T operator() (parameter_list_t) igeneric_function_empty_body(1) inline virtual T operator()(std return_type exprtk::igeneric_function< T >::rtrn_type
inline

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