Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkMRMLTranslator.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Copyright(c) Kitware Inc.
6
7 See COPYRIGHT.txt
8 or http://www.slicer.org/copyright/copyright.txt for details.
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16==============================================================================*/
17
18#ifndef __vtkMRMLTranslator_h
19#define __vtkMRMLTranslator_h
20
21// MRML includes
22#include "vtkMRML.h"
23
24// VTK includes
25#include <vtkObject.h>
26
27// STD includes
28#include <string>
29
33class VTK_MRML_EXPORT vtkMRMLTranslator : public vtkObject
34{
35public:
36 vtkTypeMacro(vtkMRMLTranslator, vtkObject);
37
40 virtual std::string Translate(const char *context, const char *sourceText, const char *disambiguation = nullptr, int n = -1) = 0;
41
42protected:
43 vtkMRMLTranslator() = default;
44 ~vtkMRMLTranslator() override = default;
46 void operator=(const vtkMRMLTranslator&) = delete;
47};
48
49#endif
vtkMRMLTranslator()=default
vtkMRMLTranslator(const vtkMRMLTranslator &)=delete
virtual std::string Translate(const char *context, const char *sourceText, const char *disambiguation=nullptr, int n=-1)=0
~vtkMRMLTranslator() override=default
void operator=(const vtkMRMLTranslator &)=delete