C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk_str_funcs.hpp
Go to the documentation of this file.
1/*
2 ******************************************************************
3 * C++ Mathematical Expression Toolkit Library *
4 * *
5 * Author: Arash Partow (1999-2024) *
6 * URL: https://www.partow.net/programming/exprtk/index.html *
7 * *
8 * Copyright notice: *
9 * Free use of the C++ Mathematical Expression Toolkit Library is *
10 * permitted under the guidelines and in accordance with the most *
11 * current version of the Common Public License. *
12 * http://www.opensource.org/licenses/cpl1.0.php *
13 * SPDX-License-Identifier: MIT *
14 * *
15 ******************************************************************
16*/
17
18
19#ifndef INCLUDE_EXPRTK_STR_FUNCS_HPP
20#define INCLUDE_EXPRTK_STR_FUNCS_HPP
21
22
23#include "exprtk.hpp"
24
25
26namespace exprtk
27{
28 namespace helper
29 {
30 namespace details
31 {
32 template <typename T, typename Process>
34 {
36
37 igf_impl(const std::string& param_sequence = "")
38 : exprtk::igeneric_function<T>(param_sequence)
39 {}
40
41 inline T operator()(parameter_list_t parameters)
42 {
43 return Process::execute(parameters);
44 }
45 };
46
47 struct toupper_impl {};
48 struct tolower_impl {};
51 struct trim_ws_impl {};
54 struct trim_impl {};
55 struct sort_impl {};
56 struct remove_impl {};
57 struct removec_impl {};
58 struct to_str_impl {};
59 struct rotate_l_impl {};
60 struct rotate_r_impl {};
61 struct join_impl {};
64 struct digits_impl {};
65 struct odd_digits_impl {};
67 }
68 }
69} // namespace exprtk
70
71#endif
igeneric_function< T >::parameter_list_t parameter_list_t
T operator()(parameter_list_t parameters)
igf_impl(const std::string &param_sequence="")