C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
depth_to_str< T > Struct Template Referencefinal
Inheritance diagram for depth_to_str< T >:
[legend]
Collaboration diagram for depth_to_str< T >:
[legend]

Public Types

typedef exprtk::igeneric_function< T > igenfunct_t
 
typedef igenfunct_t::generic_type generic_t
 
typedef igenfunct_t::parameter_list_t parameter_list_t
 
typedef generic_t::scalar_view scalar_t
 
typedef exprtk::igeneric_function< T > igenfunct_t
 
typedef igenfunct_t::generic_type generic_t
 
typedef igenfunct_t::parameter_list_t parameter_list_t
 
typedef generic_t::scalar_view scalar_t
 
typedef exprtk::igeneric_function< T > igenfunct_t
 
typedef igenfunct_t::generic_type generic_t
 
typedef igenfunct_t::parameter_list_t parameter_list_t
 
typedef generic_t::scalar_view scalar_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

 depth_to_str ()
 
operator() (std::string &result, parameter_list_t parameters) override
 
 depth_to_str ()
 
operator() (std::string &result, parameter_list_t parameters) override
 
 depth_to_str ()
 
operator() (std::string &result, 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() (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 ()
 

Additional Inherited Members

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

Detailed Description

template<typename T>
struct depth_to_str< T >

Definition at line 8420 of file exprtk_mpfr_test.cpp.

Member Typedef Documentation

◆ generic_t [1/3]

template<typename T >
typedef igenfunct_t::generic_type depth_to_str< T >::generic_t

Definition at line 8423 of file exprtk_mpfr_test.cpp.

◆ generic_t [2/3]

template<typename T >
typedef igenfunct_t::generic_type depth_to_str< T >::generic_t

Definition at line 8420 of file exprtk_real_test.cpp.

◆ generic_t [3/3]

template<typename T >
typedef igenfunct_t::generic_type depth_to_str< T >::generic_t

Definition at line 8448 of file exprtk_test.cpp.

◆ igenfunct_t [1/3]

template<typename T >
typedef exprtk::igeneric_function<T> depth_to_str< T >::igenfunct_t

Definition at line 8422 of file exprtk_mpfr_test.cpp.

◆ igenfunct_t [2/3]

template<typename T >
typedef exprtk::igeneric_function<T> depth_to_str< T >::igenfunct_t

Definition at line 8419 of file exprtk_real_test.cpp.

◆ igenfunct_t [3/3]

template<typename T >
typedef exprtk::igeneric_function<T> depth_to_str< T >::igenfunct_t

Definition at line 8447 of file exprtk_test.cpp.

◆ parameter_list_t [1/3]

template<typename T >
typedef igenfunct_t::parameter_list_t depth_to_str< T >::parameter_list_t

Definition at line 8424 of file exprtk_mpfr_test.cpp.

◆ parameter_list_t [2/3]

template<typename T >
typedef igenfunct_t::parameter_list_t depth_to_str< T >::parameter_list_t

Definition at line 8421 of file exprtk_real_test.cpp.

◆ parameter_list_t [3/3]

template<typename T >
typedef igenfunct_t::parameter_list_t depth_to_str< T >::parameter_list_t

Definition at line 8449 of file exprtk_test.cpp.

◆ scalar_t [1/3]

template<typename T >
typedef generic_t::scalar_view depth_to_str< T >::scalar_t

Definition at line 8425 of file exprtk_mpfr_test.cpp.

◆ scalar_t [2/3]

template<typename T >
typedef generic_t::scalar_view depth_to_str< T >::scalar_t

Definition at line 8422 of file exprtk_real_test.cpp.

◆ scalar_t [3/3]

template<typename T >
typedef generic_t::scalar_view depth_to_str< T >::scalar_t

Definition at line 8450 of file exprtk_test.cpp.

Constructor & Destructor Documentation

◆ depth_to_str() [1/3]

template<typename T >
depth_to_str< T >::depth_to_str ( )
inline

◆ depth_to_str() [2/3]

template<typename T >
depth_to_str< T >::depth_to_str ( )
inline

Definition at line 8424 of file exprtk_real_test.cpp.

◆ depth_to_str() [3/3]

template<typename T >
depth_to_str< T >::depth_to_str ( )
inline

Definition at line 8452 of file exprtk_test.cpp.

Member Function Documentation

◆ operator()() [1/3]

template<typename T >
T depth_to_str< T >::operator() ( std::string &  result,
parameter_list_t  parameters 
)
inlinevirtual

Reimplemented from exprtk::igeneric_function< T >.

Definition at line 8458 of file exprtk_test.cpp.

8460 {
8461
8462 result = "depth" + exprtk::details::to_str(static_cast<int>(scalar_t(parameters[0])()));
8463 return T(0);
8464 }
std::string to_str(int i)
Definition exprtk.hpp:277
generic_t::scalar_view scalar_t

References exprtk::details::to_str().

Here is the call graph for this function:

◆ operator()() [2/3]

template<typename T >
T depth_to_str< T >::operator() ( std::string &  result,
parameter_list_t  parameters 
)
inlineoverridevirtual

Reimplemented from exprtk::igeneric_function< T >.

Definition at line 8433 of file exprtk_mpfr_test.cpp.

8435 {
8436
8437 result = "depth" + exprtk::details::to_str(static_cast<int>(scalar_t(parameters[0])()));
8438 return T(0);
8439 }

References exprtk::details::to_str().

Here is the call graph for this function:

◆ operator()() [3/3]

template<typename T >
T depth_to_str< T >::operator() ( std::string &  result,
parameter_list_t  parameters 
)
inlineoverridevirtual

Reimplemented from exprtk::igeneric_function< T >.

Definition at line 8430 of file exprtk_real_test.cpp.

8432 {
8433
8434 result = "depth" + exprtk::details::to_str(static_cast<int>(scalar_t(parameters[0])()));
8435 return T(0);
8436 }

References exprtk::details::to_str().

Here is the call graph for this function:

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