BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
#include <NoTranslator.h>
Public Member Functions | |
std::string | formatImpl (const std::string &key, const std::vector< Poco::Dynamic::Var > &args) override |
Public Member Functions inherited from BeeeOn::Translator | |
template<typename... Rest> | |
std::string | formatSure (const std::string &key, const Rest &...rest) |
template<typename... Rest> | |
std::string | format (const std::string &key, const std::string &def, const Rest &...rest) |
std::string | vformat (const std::string &key, const std::string &def, const std::vector< Poco::Dynamic::Var > &args) |
Additional Inherited Members | |
Public Types inherited from BeeeOn::Translator | |
typedef Poco::SharedPtr < Translator > | Ptr |
Protected Member Functions inherited from BeeeOn::Translator | |
void | prepareArg (std::vector< Poco::Dynamic::Var > &tmp, const char *first) |
template<typename Type > | |
void | prepareArg (std::vector< Poco::Dynamic::Var > &tmp, const Type &value) |
void | formatCollect (std::vector< Poco::Dynamic::Var > &) |
template<typename First , typename... Rest> | |
void | formatCollect (std::vector< Poco::Dynamic::Var > &tmp, const First &first, const Rest &...rest) |
std::string | formatFallback (const std::string &def, const std::vector< Poco::Dynamic::Var > &args) const |
The NoTranslator returns the key without any formatting.
|
overridevirtual |
Implements the actual key lookup and formatting.
Implements BeeeOn::Translator.