#include <strtool.hpp>
Public Member Functions | |
entity_translator (const entity_map &map, bool reverse) | |
Sets the map and reverse options to be used from calls to operator(). | |
void | operator() (std::string &str) const |
Calls translate_entities( str, MAP, REVERSE ), where MAP and REVERSE are the flags set via the ctor. |
A functor for translating entities in a set of strings. Designed for use with std::for_each().
Definition at line 284 of file strtool.hpp.
|
Sets the map and reverse options to be used from calls to operator().
Definition at line 290 of file strtool.hpp. |
|
Calls translate_entities( str, MAP, REVERSE ), where MAP and REVERSE are the flags set via the ctor.
Definition at line 300 of file strtool.hpp. References s11n::io::strtool::translate_entities(). |