C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
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

Additional Inherited Members

Static Public Member Functions inherited from exprtk::igeneric_function< T >
static std::string generate_prefix_args (const std::string &prefix_args, std::size_t start=0, std::size_t end=10)
static std::string generate_suffix_args (const std::string &suffix_args, std::size_t start=0, std::size_t end=10)

Detailed Description

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

Definition at line 44250 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 44252 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 44256 of file exprtk.hpp.

44258 {
44260 }
void enable_zero_parameters(FunctionType &func)
Definition exprtk.hpp:19816
std::string scalar_format_
Definition exprtk.hpp:44268

References exprtk::enable_zero_parameters(), and scalar_format_.

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 44262 of file exprtk.hpp.

44263 {
44265 return T(0);
44266 }
static void process(const std::string &scalar_format, parameter_list_t parameters)
Definition exprtk.hpp:44203

References exprtk_override, exprtk::rtl::io::details::print_impl< T >::process(), and 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 44268 of file exprtk.hpp.

Referenced by operator()(), and print().


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