OFFIS DCMTK  Version 3.6.0
dsrsc3tn.h
1 /*
2  *
3  * Copyright (C) 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: DSRSCoord3DTreeNode
20  *
21  * Last Update: $Author: joergr $
22  * Update Date: $Date: 2010-10-14 13:16:32 $
23  * CVS/RCS Revision: $Revision: 1.2 $
24  * Status: $State: Exp $
25  *
26  * CVS/RCS Log at end of file
27  *
28  */
29 
30 
31 #ifndef DSRSC3TN_H
32 #define DSRSC3TN_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/dsrsc3vl.h"
38 
39 
40 /*---------------------*
41  * class declaration *
42  *---------------------*/
43 
47  : public DSRDocumentTreeNode,
49 {
50 
51  public:
52 
57  DSRSCoord3DTreeNode(const E_RelationshipType relationshipType);
58 
61  virtual ~DSRSCoord3DTreeNode();
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  DSRSCoord3DTreeNode &operator=(const DSRSCoord3DTreeNode &);
145 };
146 
147 
148 #endif
149 
150 
151 /*
152  * CVS/RCS Log:
153  * $Log: dsrsc3tn.h,v $
154  * Revision 1.2 2010-10-14 13:16:32 joergr
155  * Updated copyright header. Added reference to COPYRIGHT file.
156  *
157  * Revision 1.1 2010-09-28 14:08:14 joergr
158  * Added support for Colon CAD SR which requires a new value type (SCOORD3D).
159  *
160  *
161  */


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