tclap 1.4.0
Public Member Functions | List of all members
TCLAP::CmdLine::MessageTranslator Struct Referenceabstract

Optional callback used to localize user-facing strings. More...

#include <CmdLine.h>

Inheritance diagram for TCLAP::CmdLine::MessageTranslator:
Inheritance graph
[legend]

Public Member Functions

virtual ~MessageTranslator ()
 
virtual std::string translate (const std::string &messageId, const std::string &fallback) const =0
 

Detailed Description

Optional callback used to localize user-facing strings.

Definition at line 164 of file CmdLine.h.

Constructor & Destructor Documentation

◆ ~MessageTranslator()

virtual TCLAP::CmdLine::MessageTranslator::~MessageTranslator ( )
inlinevirtual

Definition at line 165 of file CmdLine.h.

Member Function Documentation

◆ translate()

virtual std::string TCLAP::CmdLine::MessageTranslator::translate ( const std::string &  messageId,
const std::string &  fallback 
) const
pure virtual

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