OFFIS DCMTK  Version 3.6.0
dsrtcotn.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: DSRTCoordTreeNode
20  *
21  * Last Update: $Author: joergr $
22  * Update Date: $Date: 2010-10-14 13:16:33 $
23  * CVS/RCS Revision: $Revision: 1.13 $
24  * Status: $State: Exp $
25  *
26  * CVS/RCS Log at end of file
27  *
28  */
29 
30 
31 #ifndef DSRTCOTN_H
32 #define DSRTCOTN_H
33 
34 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
35 
36 #include "dcmtk/dcmsr/dsrdoctr.h"
37 #include "dcmtk/dcmsr/dsrtcovl.h"
38 
39 
40 /*---------------------*
41  * class declaration *
42  *---------------------*/
43 
47  : public DSRDocumentTreeNode,
49 {
50 
51  public:
52 
57  DSRTCoordTreeNode(const E_RelationshipType relationshipType);
58 
61  virtual ~DSRTCoordTreeNode();
62 
66  virtual void clear();
67 
72  virtual OFBool isValid() const;
73 
79  virtual OFBool isShort(const size_t flags) const;
80 
88  virtual OFCondition print(STD_NAMESPACE ostream &stream,
89  const size_t flags) const;
90 
96  virtual OFCondition writeXML(STD_NAMESPACE ostream &stream,
97  const size_t flags) const;
98 
99 
100  protected:
101 
106  virtual OFCondition readContentItem(DcmItem &dataset);
107 
112  virtual OFCondition writeContentItem(DcmItem &dataset) const;
113 
119  virtual OFCondition readXMLContentItem(const DSRXMLDocument &doc,
120  DSRXMLCursor cursor);
121 
131  virtual OFCondition renderHTMLContentItem(STD_NAMESPACE ostream &docStream,
132  STD_NAMESPACE ostream &annexStream,
133  const size_t nestingLevel,
134  size_t &annexNumber,
135  const size_t flags) const;
136 
137 
138  private:
139 
140 // --- declaration of default/copy constructor and assignment operator
141 
144  DSRTCoordTreeNode &operator=(const DSRTCoordTreeNode &);
145 };
146 
147 
148 #endif
149 
150 
151 /*
152  * CVS/RCS Log:
153  * $Log: dsrtcotn.h,v $
154  * Revision 1.13 2010-10-14 13:16:33 joergr
155  * Updated copyright header. Added reference to COPYRIGHT file.
156  *
157  * Revision 1.12 2009-10-13 14:57:50 uli
158  * Switched to logging mechanism provided by the "new" oflog module.
159  *
160  * Revision 1.11 2007-11-15 16:33:30 joergr
161  * Added support for output in XHTML 1.1 format.
162  *
163  * Revision 1.10 2006/08/15 16:40:03 meichel
164  * Updated the code in module dcmsr to correctly compile when
165  * all standard C++ classes remain in namespace std.
166  *
167  * Revision 1.9 2005/12/08 16:05:22 meichel
168  * Changed include path schema for all DCMTK header files
169  *
170  * Revision 1.8 2003/09/15 14:18:54 joergr
171  * Introduced new class to facilitate checking of SR IOD relationship content
172  * constraints. Replaced old implementation distributed over numerous classes.
173  *
174  * Revision 1.7 2003/08/07 12:52:21 joergr
175  * Added readXML functionality. Added support for Chest CAD SR.
176  *
177  * Revision 1.6 2001/11/09 16:10:52 joergr
178  * Added preliminary support for Mammography CAD SR.
179  *
180  * Revision 1.5 2001/09/26 13:04:12 meichel
181  * Adapted dcmsr to class OFCondition
182  *
183  * Revision 1.4 2001/06/01 15:51:04 meichel
184  * Updated copyright header
185  *
186  * Revision 1.3 2000/11/07 18:14:31 joergr
187  * Enhanced support for by-reference relationships.
188  *
189  * Revision 1.2 2000/11/01 16:23:26 joergr
190  * Added support for conversion to XML.
191  *
192  * Revision 1.1 2000/10/26 14:23:25 joergr
193  * Added support for TCOORD content item.
194  *
195  *
196  *
197  */


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