48#ifndef DOXYGEN_SHOULD_SKIP_THIS
55 template <
class Translator >
57 const std::size_t pos) {
59 if (_translators_.size() < pos) {
61 "The translatorSet contains only "
62 << _translators_.size()
63 <<
" translators. It is therefore impossible to substitute "
64 <<
"the translator at index " << pos);
68 DBTranslator*
translator = new_translator.clone();
71 delete _translators_[pos];
void changeTranslator(const Translator &new_translator, const std::size_t pos)
substitute a translator by another one
DBTranslator & translator(const std::size_t k)
returns the kth translator
#define GUM_ERROR(type, msg)
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities