C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
exprtk::rtl::io::print< T > Struct Template Reference

#include <exprtk.hpp>

Inheritance diagram for exprtk::rtl::io::print< T >:
[legend]
Collaboration diagram for exprtk::rtl::io::print< T >:
[legend]

Public Types

typedef igeneric_function< T >::parameter_list_t parameter_list_t
 
- Public Types inherited from exprtk::igeneric_function< T >
enum  return_type { e_rtrn_scalar = 0 , e_rtrn_string = 1 , e_rtrn_overload = 2 }
 
typedef T type
 
typedef type_store< T > generic_type
 
typedef generic_type::parameter_list parameter_list_t
 

Public Member Functions

 print (const std::string &scalar_format="%10.5f")
 
operator() (parameter_list_t parameters)
 
- Public Member Functions inherited from exprtk::igeneric_function< T >
 igeneric_function (const std::string &param_seq="", const return_type rtr_type=e_rtrn_scalar)
 
virtual ~igeneric_function ()
 
virtual T operator() (std::string &, parameter_list_t)
 
virtual T operator() (const std::size_t &, parameter_list_t)
 
virtual T operator() (const std::size_t &, std::string &, parameter_list_t)
 
- Public Member Functions inherited from exprtk::function_traits
 function_traits ()
 
bool & allow_zero_parameters ()
 
bool & has_side_effects ()
 
std::size_t & min_num_args ()
 
std::size_t & max_num_args ()
 

Public Attributes

std::string scalar_format_
 
- Public Attributes inherited from exprtk::igeneric_function< T >
std::string parameter_sequence
 
return_type rtrn_type
 

Detailed Description

template<typename T>
struct exprtk::rtl::io::print< T >

Definition at line 42037 of file exprtk.hpp.

Member Typedef Documentation

◆ parameter_list_t

template<typename T >
typedef igeneric_function<T>::parameter_list_t exprtk::rtl::io::print< T >::parameter_list_t

Definition at line 42039 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ print()

template<typename T >
exprtk::rtl::io::print< T >::print ( const std::string &  scalar_format = "%10.5f")
inlineexplicit

Definition at line 42043 of file exprtk.hpp.

42044 : scalar_format_(scalar_format)
42045 {
42047 }
void enable_zero_parameters(FunctionType &func)
Definition exprtk.hpp:18815
std::string scalar_format_
Definition exprtk.hpp:42055

References exprtk::enable_zero_parameters().

Here is the call graph for this function:

Member Function Documentation

◆ operator()()

template<typename T >
T exprtk::rtl::io::print< T >::operator() ( parameter_list_t  parameters)
inlinevirtual

Reimplemented from exprtk::igeneric_function< T >.

Definition at line 42049 of file exprtk.hpp.

42050 {
42052 return T(0);
42053 }
static void process(const std::string &scalar_format, parameter_list_t parameters)
Definition exprtk.hpp:41990

References exprtk::rtl::io::details::print_impl< T >::process(), and exprtk::rtl::io::print< T >::scalar_format_.

Here is the call graph for this function:

Member Data Documentation

◆ scalar_format_

template<typename T >
std::string exprtk::rtl::io::print< T >::scalar_format_

Definition at line 42055 of file exprtk.hpp.

Referenced by exprtk::rtl::io::print< T >::operator()().


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