BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions
BeeeOn::NoTranslator Class Reference

#include <NoTranslator.h>

Inheritance diagram for BeeeOn::NoTranslator:
BeeeOn::Translator

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
 

Detailed Description

The NoTranslator returns the key without any formatting.

Member Function Documentation

string NoTranslator::formatImpl ( const std::string &  key,
const std::vector< Poco::Dynamic::Var > &  args 
)
overridevirtual

Implements the actual key lookup and formatting.

Implements BeeeOn::Translator.


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