| 42 | std::map<std::string, std::function<std::string (const std::string &) > > m_callbacks; |
| 43 | |
| 44 | void add_callback(const std::string &t_name, |
| 45 | const std::function<std::string (const std::string &)> &t_func) |
| 46 | { |
| 47 | m_callbacks[t_name] = t_func; |
| 48 | } |
| 49 | |
| 50 | |
| 51 | void do_callbacks(const std::string &inp) |
nothing calls this directly
no outgoing calls
no test coverage detected