Translator

Inherited: Resource

Description

Public Methods

void

setPair (const std::string & source, const std::string & translation)

std::string

translate (const std::string & source) const

Static Methods

None

Methods Description

void Translator::setPair (std::string & source, std::string & translation)

Sets new translation for the source string.


std::string Translator::translate (std::string & source) const

Returns the translated source string.