OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmdata
include
dcmtk
dcmdata
dcpcache.h
1
/*
2
*
3
* Copyright (C) 1994-2010, OFFIS e.V.
4
* All rights reserved. See COPYRIGHT file for details.
5
*
6
* This software and supporting documentation were developed by
7
*
8
* OFFIS e.V.
9
* R&D Division Health
10
* Escherweg 2
11
* D-26121 Oldenburg, Germany
12
*
13
*
14
* Module: dcmdata
15
*
16
* Author: Marco Eichelberg
17
*
18
* Purpose: class DcmPrivateTagCache
19
*
20
* Last Update: $Author: joergr $
21
* Update Date: $Date: 2010-10-14 13:15:41 $
22
* CVS/RCS Revision: $Revision: 1.5 $
23
* Status: $State: Exp $
24
*
25
* CVS/RCS Log at end of file
26
*
27
*/
28
29
#ifndef DCPCACHE_H
30
#define DCPCACHE_H
31
32
#include "dcmtk/config/osconfig.h"
/* make sure OS specific configuration is included first */
33
#include "dcmtk/ofstd/oftypes.h"
/* for OFBool */
34
#include "dcmtk/ofstd/oflist.h"
/* for OFList */
35
#include "dcmtk/ofstd/ofstring.h"
/* for OFString */
36
#include "dcmtk/dcmdata/dctagkey.h"
/* for DcmTagKey */
37
38
class
DcmObject
;
39
42
class
DcmPrivateTagCacheEntry
43
{
44
public
:
49
DcmPrivateTagCacheEntry
(
const
DcmTagKey
& tk,
const
char
*pc);
50
52
virtual
~DcmPrivateTagCacheEntry
();
53
56
const
char
*
getPrivateCreator
()
const
;
57
64
OFBool
isPrivateCreatorFor
(
const
DcmTagKey
& tk)
const
;
65
66
private
:
67
69
DcmPrivateTagCacheEntry
(
const
DcmPrivateTagCacheEntry
&);
70
72
DcmPrivateTagCacheEntry
&
operator=
(
const
DcmPrivateTagCacheEntry
&);
73
75
DcmTagKey
tagKey
;
76
78
OFString
privateCreator
;
79
};
80
81
85
class
DcmPrivateTagCache
86
{
87
public
:
89
DcmPrivateTagCache
();
90
92
virtual
~DcmPrivateTagCache
();
93
95
void
clear
();
96
101
const
char
*
findPrivateCreator
(
const
DcmTagKey
& tk)
const
;
102
108
void
updateCache
(
DcmObject
*dobj);
109
110
private
:
111
113
DcmPrivateTagCache
(
const
DcmPrivateTagCache
&);
114
116
DcmPrivateTagCache
&
operator=
(
const
DcmPrivateTagCache
&);
117
119
OFList<DcmPrivateTagCacheEntry *>
list_
;
120
};
121
122
#endif
123
124
/*
125
* CVS/RCS Log:
126
* $Log: dcpcache.h,v $
127
* Revision 1.5 2010-10-14 13:15:41 joergr
128
* Updated copyright header. Added reference to COPYRIGHT file.
129
*
130
* Revision 1.4 2009-11-04 09:58:07 uli
131
* Switched to logging mechanism provided by the "new" oflog module
132
*
133
* Revision 1.3 2005-12-08 16:28:29 meichel
134
* Changed include path schema for all DCMTK header files
135
*
136
* Revision 1.2 2004/10/20 15:56:13 meichel
137
* Changed private inheritance from OFList to class member,
138
* needed for compilation with HAVE_STL.
139
*
140
* Revision 1.1 2002/07/23 14:21:27 meichel
141
* Added support for private tag data dictionaries to dcmdata
142
*
143
*
144
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2