Base class for localization of messages that may be displayed to users.
More...
#include <Libs/MRML/Core/vtkMRMLTranslator.h>
|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
virtual std::string | Translate (const char *context, const char *sourceText, const char *disambiguation=nullptr, int n=-1)=0 |
|
Base class for localization of messages that may be displayed to users.
This base class keeps messages unchanged. Sub-classes must implement actual translation.
Definition at line 33 of file vtkMRMLTranslator.h.
◆ Superclass
◆ vtkMRMLTranslator() [1/2]
vtkMRMLTranslator::vtkMRMLTranslator |
( |
| ) |
|
|
protecteddefault |
◆ ~vtkMRMLTranslator()
vtkMRMLTranslator::~vtkMRMLTranslator |
( |
| ) |
|
|
overrideprotecteddefault |
◆ vtkMRMLTranslator() [2/2]
◆ GetClassName()
virtual const char * vtkMRMLTranslator::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsA()
virtual int vtkMRMLTranslator::IsA |
( |
const char * | type | ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkMRMLTranslator::IsTypeOf |
( |
const char * | type | ) |
|
|
static |
◆ operator=()
◆ SafeDownCast()
◆ Translate()
virtual std::string vtkMRMLTranslator::Translate |
( |
const char * | context, |
|
|
const char * | sourceText, |
|
|
const char * | disambiguation = nullptr, |
|
|
int | n = -1 ) |
|
pure virtual |
Default translation function that returns the sourceText without any change. This method must be overridden in derived classes.
The documentation for this class was generated from the following file: