OFFIS DCMTK  Version 3.6.0
dsrwavvl.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: DSRWaveformReferenceValue
20  *
21  * Last Update: $Author: joergr $
22  * Update Date: $Date: 2010-10-14 13:16:33 $
23  * CVS/RCS Revision: $Revision: 1.17 $
24  * Status: $State: Exp $
25  *
26  * CVS/RCS Log at end of file
27  *
28  */
29 
30 
31 #ifndef DSRWAVVL_H
32 #define DSRWAVVL_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/dsrcomvl.h"
38 #include "dcmtk/dcmsr/dsrwavch.h"
39 
40 
41 /*---------------------*
42  * class declaration *
43  *---------------------*/
44 
49 {
50  // allow access to getValuePtr()
51  friend class DSRContentItem;
52 
53  public:
54 
58 
66  DSRWaveformReferenceValue(const OFString &sopClassUID,
67  const OFString &sopInstanceUID);
68 
73 
77 
83 
87  virtual void clear();
88 
95  virtual OFBool isShort(const size_t flags) const;
96 
105  virtual OFCondition print(STD_NAMESPACE ostream &stream,
106  const size_t flags) const;
107 
113  virtual OFCondition readXML(const DSRXMLDocument &doc,
114  DSRXMLCursor cursor);
115 
121  virtual OFCondition writeXML(STD_NAMESPACE ostream &stream,
122  const size_t flags) const;
123 
132  virtual OFCondition renderHTML(STD_NAMESPACE ostream &docStream,
133  STD_NAMESPACE ostream &annexStream,
134  size_t &annexNumber,
135  const size_t flags) const;
136 
140  inline const DSRWaveformReferenceValue &getValue() const
141  {
142  return *this;
143  }
144 
149  OFCondition getValue(DSRWaveformReferenceValue &referenceValue) const;
150 
157  OFCondition setValue(const DSRWaveformReferenceValue &referenceValue);
158 
163  {
164  return ChannelList;
165  }
166 
174  OFBool appliesToChannel(const Uint16 multiplexGroupNumber,
175  const Uint16 channelNumber) const;
176 
177 
178  protected:
179 
184  {
185  return this;
186  }
187 
192  virtual OFCondition readItem(DcmItem &dataset);
193 
198  virtual OFCondition writeItem(DcmItem &dataset) const;
199 
205  virtual OFBool checkSOPClassUID(const OFString &sopClassUID) const;
206 
207 
208  private:
209 
212 };
213 
214 
215 #endif
216 
217 
218 /*
219  * CVS/RCS Log:
220  * $Log: dsrwavvl.h,v $
221  * Revision 1.17 2010-10-14 13:16:33 joergr
222  * Updated copyright header. Added reference to COPYRIGHT file.
223  *
224  * Revision 1.16 2009-10-13 14:57:50 uli
225  * Switched to logging mechanism provided by the "new" oflog module.
226  *
227  * Revision 1.15 2007-11-15 16:33:30 joergr
228  * Added support for output in XHTML 1.1 format.
229  *
230  * Revision 1.14 2006/08/15 16:40:03 meichel
231  * Updated the code in module dcmsr to correctly compile when
232  * all standard C++ classes remain in namespace std.
233  *
234  * Revision 1.13 2005/12/08 16:05:34 meichel
235  * Changed include path schema for all DCMTK header files
236  *
237  * Revision 1.12 2003/08/07 18:01:42 joergr
238  * Removed libxml dependency from header files.
239  *
240  * Revision 1.11 2003/08/07 13:07:39 joergr
241  * Added readXML functionality.
242  *
243  * Revision 1.10 2001/09/26 13:04:15 meichel
244  * Adapted dcmsr to class OFCondition
245  *
246  * Revision 1.9 2001/06/01 15:51:06 meichel
247  * Updated copyright header
248  *
249  * Revision 1.8 2000/11/06 11:21:53 joergr
250  * Moved some protected methods to public part.
251  *
252  * Revision 1.7 2000/11/01 16:23:29 joergr
253  * Added support for conversion to XML.
254  *
255  * Revision 1.6 2000/10/26 14:22:23 joergr
256  * Updated comments.
257  *
258  * Revision 1.5 2000/10/23 15:13:42 joergr
259  * Added/updated doc++ comments.
260  *
261  * Revision 1.4 2000/10/20 10:15:43 joergr
262  * Renamed class DSRReferenceValue to DSRCompositeReferenceValue.
263  *
264  * Revision 1.3 2000/10/18 17:11:33 joergr
265  * Added methods allowing direct access to certain content item values.
266  * Made some functions inline.
267  * Added doc++ comments.
268  *
269  * Revision 1.2 2000/10/16 11:52:29 joergr
270  * Added new method checking whether a waveform content item applies to a
271  * certain channel.
272  *
273  * Revision 1.1 2000/10/13 07:49:37 joergr
274  * Added new module 'dcmsr' providing access to DICOM structured reporting
275  * documents (supplement 23). Doc++ documentation not yet completed.
276  *
277  *
278  */


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2