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

- 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)
 
- 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 8469 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 8472 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 8469 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 8489 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 8471 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 8468 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 8488 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 8473 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 8470 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 8490 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 8474 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 8471 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 8491 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 8473 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 8493 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 8482 of file exprtk_mpfr_test.cpp.

8484 {
8485
8486 result = "depth" + exprtk::details::to_str(static_cast<int>(scalar_t(parameters[0])()));
8487 return T(0);
8488 }
std::string to_str(int i)
Definition exprtk.hpp:302
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 
)
inlinevirtual

Reimplemented from exprtk::igeneric_function< T >.

Definition at line 8479 of file exprtk_real_test.cpp.

8481 {
8482
8483 result = "depth" + exprtk::details::to_str(static_cast<int>(scalar_t(parameters[0])()));
8484 return T(0);
8485 }

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 
)
inlinevirtual

Reimplemented from exprtk::igeneric_function< T >.

Definition at line 8499 of file exprtk_test.cpp.

8501 {
8502
8503 result = "depth" + exprtk::details::to_str(static_cast<int>(scalar_t(parameters[0])()));
8504 return T(0);
8505 }

References exprtk::details::to_str().

Here is the call graph for this function:

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