Class that provide internationalization (i18n) features, such as language translation or region-specific units and date formatting.
More...
#include <Libs/MRML/Core/vtkMRMLI18N.h>
Class that provide internationalization (i18n) features, such as language translation or region-specific units and date formatting.
Definition at line 32 of file vtkMRMLI18N.h.
◆ Self
◆ Superclass
◆ vtkMRMLI18N() [1/2]
vtkMRMLI18N::vtkMRMLI18N |
( |
| ) |
|
|
protected |
◆ ~vtkMRMLI18N()
vtkMRMLI18N::~vtkMRMLI18N |
( |
| ) |
|
|
overrideprotected |
◆ vtkMRMLI18N() [2/2]
◆ classFinalize()
static void vtkMRMLI18N::classFinalize |
( |
| ) |
|
|
staticprotected |
◆ classInitialize()
static void vtkMRMLI18N::classInitialize |
( |
| ) |
|
|
staticprotected |
Singleton management functions.
◆ GetClassName()
virtual const char * vtkMRMLI18N::GetClassName |
( |
| ) |
|
|
virtual |
◆ GetInstance()
Return the singleton instance with no reference counting.
◆ GetTranslator()
Get translator object that can translate text that is displayed to the user to the currently chosen language.
◆ IsA()
virtual int vtkMRMLI18N::IsA |
( |
const char * | type | ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkMRMLI18N::IsTypeOf |
( |
const char * | type | ) |
|
|
static |
◆ New()
This is a singleton pattern New. There will only be ONE reference to a vtkMRMLI18N object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.
◆ operator=()
◆ PrintSelf()
void vtkMRMLI18N::PrintSelf |
( |
ostream & | os, |
|
|
vtkIndent | indent ) |
|
override |
◆ SafeDownCast()
static vtkMRMLI18N * vtkMRMLI18N::SafeDownCast |
( |
vtkObject * | o | ) |
|
|
static |
◆ SetTranslator()
Set translator object. This class takes ownership of the translator and it releases it when the process quits.
◆ Translate()
static std::string vtkMRMLI18N::Translate |
( |
const char * | context, |
|
|
const char * | sourceText, |
|
|
const char * | disambiguation = nullptr, |
|
|
int | n = -1 ) |
|
static |
Translate message with the current translator.
◆ vtkMRMLI18NInitialize
◆ Translator
The documentation for this class was generated from the following file: