Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Libs
MRML
Core
vtkCodedEntry.h
Go to the documentation of this file.
1
/*=auto=========================================================================
2
3
Portions (c) Copyright 2017 Brigham and Women's Hospital (BWH) All Rights Reserved.
4
5
See COPYRIGHT.txt
6
or http://www.slicer.org/copyright/copyright.txt for details.
7
8
=========================================================================auto=*/
9
10
#ifndef __vtkCodedEntry_h
11
#define __vtkCodedEntry_h
12
13
// MRML includes
14
#include "
vtkMRML.h
"
15
16
// VTK includes
17
#include <vtkObject.h>
18
26
class
VTK_MRML_EXPORT
vtkCodedEntry
:
public
vtkObject
27
{
28
public
:
29
30
static
vtkCodedEntry
*New();
31
vtkTypeMacro(
vtkCodedEntry
, vtkObject);
32
void
PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
33
35
virtual
void
Initialize();
36
38
virtual
void
Copy(
vtkCodedEntry
* aEntry);
39
43
vtkGetStringMacro(CodeValue);
44
vtkSetStringMacro(CodeValue);
45
51
vtkGetStringMacro(CodingSchemeDesignator);
52
vtkSetStringMacro(CodingSchemeDesignator);
53
59
vtkGetStringMacro(CodeMeaning);
60
vtkSetStringMacro(CodeMeaning);
61
63
virtual
void
SetValueSchemeMeaning(
const
std::string& value,
const
std::string& scheme,
const
std::string& meaning);
64
68
std::string GetAsPrintableString();
69
73
std::string GetAsString();
74
79
bool
SetFromString(
const
std::string& content);
80
81
protected
:
82
vtkCodedEntry
();
83
~
vtkCodedEntry
();
84
vtkCodedEntry
(
const
vtkCodedEntry
&);
85
void
operator=(
const
vtkCodedEntry
&);
86
87
protected
:
88
char
*
CodeValue
;
89
char
*
CodingSchemeDesignator
;
90
char
*
CodeMeaning
;
91
};
92
93
#endif
vtkCodedEntry::CodeValue
char * CodeValue
Definition:
vtkCodedEntry.h:88
vtkCodedEntry
Simple class for storing standard coded entries (coding scheme, value, meaning triplets) ...
Definition:
vtkCodedEntry.h:26
vtkCodedEntry::CodingSchemeDesignator
char * CodingSchemeDesignator
Definition:
vtkCodedEntry.h:89
vtkCodedEntry::CodeMeaning
char * CodeMeaning
Definition:
vtkCodedEntry.h:90
vtkMRML.h
Generated on Wed Dec 20 2017 04:49:08 for Slicer by
1.8.13