OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmsr
include
dcmtk
dcmsr
dsrtcovl.h
1
/*
2
*
3
* Copyright (C) 2000-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: dcmsr
15
*
16
* Author: Joerg Riesmeier
17
*
18
* Purpose:
19
* classes: DSRTemporalCoordinatesValue
20
*
21
* Last Update: $Author: joergr $
22
* Update Date: $Date: 2010-10-14 13:16:33 $
23
* CVS/RCS Revision: $Revision: 1.12 $
24
* Status: $State: Exp $
25
*
26
* CVS/RCS Log at end of file
27
*
28
*/
29
30
31
#ifndef DSRTCOVL_H
32
#define DSRTCOVL_H
33
34
#include "dcmtk/config/osconfig.h"
/* make sure OS specific configuration is included first */
35
36
#include "dcmtk/dcmsr/dsrtypes.h"
37
#include "dcmtk/dcmsr/dsrtcodt.h"
38
#include "dcmtk/dcmsr/dsrtcosp.h"
39
#include "dcmtk/dcmsr/dsrtcoto.h"
40
41
42
/*---------------------*
43
* class declaration *
44
*---------------------*/
45
48
class
DSRTemporalCoordinatesValue
49
{
50
// allow access to getValuePtr()
51
friend
class
DSRContentItem
;
52
53
public
:
54
57
DSRTemporalCoordinatesValue
();
58
62
DSRTemporalCoordinatesValue
(
const
DSRTypes::E_TemporalRangeType
temporalRangeType);
63
67
DSRTemporalCoordinatesValue
(
const
DSRTemporalCoordinatesValue
&coordinatesValue);
68
71
virtual
~DSRTemporalCoordinatesValue
();
72
78
DSRTemporalCoordinatesValue
&
operator=
(
const
DSRTemporalCoordinatesValue
&coordinatesValue);
79
84
virtual
void
clear
();
85
91
virtual
OFBool
isValid
()
const
;
92
99
virtual
OFBool
isShort
(
const
size_t
flags)
const
;
100
108
virtual
OFCondition
print
(STD_NAMESPACE ostream &stream,
109
const
size_t
flags)
const
;
110
116
virtual
OFCondition
readXML
(
const
DSRXMLDocument
&doc,
117
DSRXMLCursor
cursor);
118
124
virtual
OFCondition
writeXML
(STD_NAMESPACE ostream &stream,
125
const
size_t
flags)
const
;
126
135
virtual
OFCondition
renderHTML
(STD_NAMESPACE ostream &docStream,
136
STD_NAMESPACE ostream &annexStream,
137
size_t
&annexNumber,
138
const
size_t
flags)
const
;
139
143
inline
const
DSRTemporalCoordinatesValue
&
getValue
()
const
144
{
145
return
*
this
;
146
}
147
152
OFCondition
getValue
(
DSRTemporalCoordinatesValue
&coordinatesValue)
const
;
153
161
OFCondition
setValue
(
const
DSRTemporalCoordinatesValue
&coordinatesValue);
162
167
inline
DSRTypes::E_TemporalRangeType
getTemporalRangeType
()
const
168
{
169
return
TemporalRangeType
;
170
}
171
177
OFCondition
setTemporalRangeType
(
const
DSRTypes::E_TemporalRangeType
temporalRangeType);
178
182
inline
DSRReferencedDatetimeList
&
getDatetimeList
()
183
{
184
return
DatetimeList
;
185
}
186
190
inline
DSRReferencedSamplePositionList
&
getSamplePositionList
()
191
{
192
return
SamplePositionList
;
193
}
194
198
inline
DSRReferencedTimeOffsetList
&
getTimeOffsetList
()
199
{
200
return
TimeOffsetList
;
201
}
202
203
204
protected
:
205
209
inline
DSRTemporalCoordinatesValue
*
getValuePtr
()
210
{
211
return
this
;
212
}
213
220
virtual
OFCondition
read
(
DcmItem
&dataset);
221
227
virtual
OFCondition
write
(
DcmItem
&dataset)
const
;
228
239
OFBool
checkData
(
const
DSRTypes::E_TemporalRangeType
temporalRangeType,
240
const
DSRReferencedSamplePositionList
&samplePositionList,
241
const
DSRReferencedTimeOffsetList
&timeOffsetList,
242
const
DSRReferencedDatetimeList
&datetimeList)
const
;
243
244
private
:
245
247
DSRTypes::E_TemporalRangeType
TemporalRangeType
;
248
250
DSRReferencedSamplePositionList
SamplePositionList
;
252
DSRReferencedTimeOffsetList
TimeOffsetList
;
254
DSRReferencedDatetimeList
DatetimeList
;
255
};
256
257
258
#endif
259
260
261
/*
262
* CVS/RCS Log:
263
* $Log: dsrtcovl.h,v $
264
* Revision 1.12 2010-10-14 13:16:33 joergr
265
* Updated copyright header. Added reference to COPYRIGHT file.
266
*
267
* Revision 1.11 2009-10-13 14:57:50 uli
268
* Switched to logging mechanism provided by the "new" oflog module.
269
*
270
* Revision 1.10 2007-11-15 16:33:30 joergr
271
* Added support for output in XHTML 1.1 format.
272
*
273
* Revision 1.9 2006/08/15 16:40:03 meichel
274
* Updated the code in module dcmsr to correctly compile when
275
* all standard C++ classes remain in namespace std.
276
*
277
* Revision 1.8 2005/12/08 16:05:24 meichel
278
* Changed include path schema for all DCMTK header files
279
*
280
* Revision 1.7 2003/08/07 18:01:42 joergr
281
* Removed libxml dependency from header files.
282
*
283
* Revision 1.6 2003/08/07 12:53:13 joergr
284
* Added readXML functionality.
285
*
286
* Revision 1.5 2001/09/26 13:04:12 meichel
287
* Adapted dcmsr to class OFCondition
288
*
289
* Revision 1.4 2001/06/01 15:51:05 meichel
290
* Updated copyright header
291
*
292
* Revision 1.3 2000/11/06 11:20:32 joergr
293
* Moved some protected methods to public part.
294
*
295
* Revision 1.2 2000/11/01 16:23:26 joergr
296
* Added support for conversion to XML.
297
*
298
* Revision 1.1 2000/10/26 14:23:26 joergr
299
* Added support for TCOORD content item.
300
*
301
*
302
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2