GDCM
3.0.24
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
Dicts
&
operator=
(
const
Dicts
&_val) =
delete
;
35
Dicts
(
const
Dicts
&_val) =
delete
;
36
40
// DataSet::GetPrivateCreator
42
const
DictEntry
&
GetDictEntry
(
const
Tag
& tag,
const
char
*owner =
nullptr
)
const
;
43
44
const
DictEntry
&
GetDictEntry
(
const
PrivateTag
& tag)
const
;
45
46
//enum PublicTypes {
47
// DICOMV3_DICT,
48
// ACRNEMA_DICT,
49
// NIH_DICT
50
//};
51
const
Dict
&
GetPublicDict
()
const
;
52
53
const
PrivateDict
&
GetPrivateDict
()
const
;
54
PrivateDict
&
GetPrivateDict
();
55
56
const
CSAHeaderDict
&
GetCSAHeaderDict
()
const
;
57
58
bool
IsEmpty
()
const
{
return
GetPublicDict().IsEmpty(); }
59
60
protected
:
61
typedef
enum
{
62
PHILIPS
,
63
GEMS
,
64
SIEMENS
65
// ...
66
} ConstructorType;
67
static
const
char
*
GetConstructorString
(
ConstructorType
type);
68
69
friend
class
Global
;
70
void
LoadDefaults
();
71
72
private
:
73
// Public dict:
74
Dict
PublicDict;
75
76
// Private Dicts:
77
PrivateDict
ShadowDict;
78
79
CSAHeaderDict
CSADict;
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
gdcm::CSAHeaderDict
Class to represent a map of CSAHeaderDictEntry.
Definition
gdcmCSAHeaderDict.h:35
gdcm::DictEntry
Class to represent an Entry in the Dict.
Definition
gdcmDictEntry.h:37
gdcm::Dict
Class to represent a map of DictEntry.
Definition
gdcmDict.h:45
gdcm::Dicts
Class to manipulate the sum of knowledge (all the dict user load)
Definition
gdcmDicts.h:29
gdcm::Dicts::LoadDefaults
void LoadDefaults()
gdcm::Dicts::GetCSAHeaderDict
const CSAHeaderDict & GetCSAHeaderDict() const
gdcm::Dicts::GetPrivateDict
PrivateDict & GetPrivateDict()
gdcm::Dicts::GetDictEntry
const DictEntry & GetDictEntry(const Tag &tag, const char *owner=nullptr) const
THREAD SAFE.
gdcm::Dicts::Dicts
Dicts(const Dicts &_val)=delete
gdcm::Dicts::GetPublicDict
const Dict & GetPublicDict() const
gdcm::Dicts::GetDictEntry
const DictEntry & GetDictEntry(const PrivateTag &tag) const
gdcm::Dicts::Dicts
Dicts()
gdcm::Dicts::ConstructorType
ConstructorType
Definition
gdcmDicts.h:61
gdcm::Dicts::PHILIPS
@ PHILIPS
Definition
gdcmDicts.h:62
gdcm::Dicts::GEMS
@ GEMS
Definition
gdcmDicts.h:63
gdcm::Dicts::IsEmpty
bool IsEmpty() const
Definition
gdcmDicts.h:58
gdcm::Dicts::~Dicts
~Dicts()
gdcm::Dicts::operator=
Dicts & operator=(const Dicts &_val)=delete
gdcm::Dicts::GetPrivateDict
const PrivateDict & GetPrivateDict() const
gdcm::Dicts::GetConstructorString
static const char * GetConstructorString(ConstructorType type)
gdcm::Global
Global.
Definition
gdcmGlobal.h:50
gdcm::PrivateDict
Private Dict.
Definition
gdcmDict.h:217
gdcm::PrivateTag
Class to represent a Private DICOM Data Element (Attribute) Tag (Group, Element, Owner)
Definition
gdcmPrivateTag.h:39
gdcm::Tag
Class to represent a DICOM Data Element (Attribute) Tag (Group, Element).
Definition
gdcmTag.h:39
gdcmCSAHeaderDict.h
gdcmDict.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition
gdcmWin32.h:34
gdcm
Definition
gdcmASN1.h:21
gdcm::operator<<
std::ostream & operator<<(std::ostream &os, const Directory &d)
Definition
gdcmDirectory.h:88
Generated by
1.9.8