OpenCOVER
Static Public Member Functions | List of all members
coTranslator Class Reference

#include <coTranslator.h>

Static Public Member Functions

static std::string coTranslate (const std::string &msg)
 
static std::string translatePath (const std::string &path)
 

Detailed Description

Wrapper/convenience class for localization methods. Is responsible for reading out environemt variables, actual configuration values, and calling translation library. To the COVER application it provides a aesy to use interface.

Member Function Documentation

◆ coTranslate()

static std::string coTranslator::coTranslate ( const std::string &  msg)
static

Translates the given string according to actual (environmental) settings.

Parameters
msgString to translate.
Returns
Translated string, if retrieving setting was successfull, or the copy of the original string, if there is a misconfiguration of settings.

◆ translatePath()

static std::string coTranslator::translatePath ( const std::string &  path)
static

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