tclap 1.4.0
Public Member Functions | Public Attributes | List of all members
TCLAP::CmdLine::MessageTranslatorImpl< T > Struct Template Reference

#include <CmdLine.h>

Inheritance diagram for TCLAP::CmdLine::MessageTranslatorImpl< T >:
Inheritance graph
[legend]
Collaboration diagram for TCLAP::CmdLine::MessageTranslatorImpl< T >:
Collaboration graph
[legend]

Public Member Functions

 MessageTranslatorImpl (const T &translator)
 
virtual std::string translate (const std::string &messageId, const std::string &fallback) const
 
- Public Member Functions inherited from TCLAP::CmdLine::MessageTranslator
virtual ~MessageTranslator ()
 

Public Attributes

T _translator
 

Detailed Description

template<typename T>
struct TCLAP::CmdLine::MessageTranslatorImpl< T >

Definition at line 171 of file CmdLine.h.

Constructor & Destructor Documentation

◆ MessageTranslatorImpl()

template<typename T >
TCLAP::CmdLine::MessageTranslatorImpl< T >::MessageTranslatorImpl ( const T &  translator)
inline

Definition at line 173 of file CmdLine.h.

Member Function Documentation

◆ translate()

template<typename T >
virtual std::string TCLAP::CmdLine::MessageTranslatorImpl< T >::translate ( const std::string &  messageId,
const std::string &  fallback 
) const
inlinevirtual

Member Data Documentation

◆ _translator

template<typename T >
T TCLAP::CmdLine::MessageTranslatorImpl< T >::_translator

Definition at line 172 of file CmdLine.h.

Referenced by TCLAP::CmdLine::MessageTranslatorImpl< T >::translate().


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