GDCM
2.4.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Source
DataDictionary
gdcmDicts.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: GDCM (Grassroots DICOM). A DICOM library
4
5
Copyright (c) 2006-2011 Mathieu Malaterre
6
All rights reserved.
7
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notice for more information.
12
13
=========================================================================*/
14
#ifndef GDCMDICTS_H
15
#define GDCMDICTS_H
16
17
#include "
gdcmDict.h
"
18
#include "
gdcmCSAHeaderDict.h
"
19
20
#include <string>
21
22
namespace
gdcm
23
{
28
class
GDCM_EXPORT
Dicts
29
{
30
friend
std::ostream&
operator<<
(std::ostream &_os,
const
Dicts
&d);
31
public
:
32
Dicts
();
33
~
Dicts
();
34
38
// DataSet::GetPrivateCreator
40
const
DictEntry
&GetDictEntry(
const
Tag
& tag,
const
char
*owner = NULL)
const
;
41
42
const
DictEntry
&GetDictEntry(
const
PrivateTag
& tag)
const
;
43
44
//enum PublicTypes {
45
// DICOMV3_DICT,
46
// ACRNEMA_DICT,
47
// NIH_DICT
48
//};
49
const
Dict
&GetPublicDict()
const
;
50
51
const
PrivateDict
&GetPrivateDict()
const
;
52
PrivateDict
&GetPrivateDict();
53
54
const
CSAHeaderDict
&GetCSAHeaderDict()
const
;
55
56
bool
IsEmpty
()
const
{
return
GetPublicDict().
IsEmpty
(); }
57
58
protected
:
59
typedef
enum
{
60
PHILIPS
,
61
GEMS
,
62
SIEMENS
63
// ...
64
} ConstructorType;
65
static
const
char
*GetConstructorString(ConstructorType type);
66
67
friend
class
Global
;
68
void
LoadDefaults();
69
70
private
:
71
// Public dict:
72
Dict
PublicDict;
73
74
// Private Dicts:
75
PrivateDict
ShadowDict;
76
77
CSAHeaderDict
CSADict;
78
Dicts
&operator=(
const
Dicts
&_val);
// purposely not implemented
79
Dicts
(
const
Dicts
&_val);
// purposely not implemented
80
};
81
//-----------------------------------------------------------------------------
82
inline
std::ostream&
operator<<
(std::ostream &os,
const
Dicts
&d)
83
{
84
(void)d;
85
return
os;
86
}
87
88
89
}
// end namespace gdcm
90
91
#endif //GDCMDICTS_H
Generated on Thu Oct 17 2013 10:05:56 for GDCM by
1.8.4