OFFIS DCMTK  Version 3.6.0
dsrkeycc.h
1 /*
2  *
3  * Copyright (C) 2003-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: DSRKeyObjectSelectionDocumentConstraintChecker
20  *
21  * Last Update: $Author: joergr $
22  * Update Date: $Date: 2010-10-14 13:16:32 $
23  * CVS/RCS Revision: $Revision: 1.5 $
24  * Status: $State: Exp $
25  *
26  * CVS/RCS Log at end of file
27  *
28  */
29 
30 
31 #ifndef DSRKEYCC_H
32 #define DSRKEYCC_H
33 
34 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
35 
36 #include "dcmtk/dcmsr/dsriodcc.h"
37 
38 
39 /*---------------------*
40  * class declaration *
41  *---------------------*/
42 
48 {
49 
50  public:
51 
55 
59 
63  virtual OFBool isByReferenceAllowed() const;
64 
68  virtual OFBool isTemplateSupportRequired() const;
69 
73  virtual const char *getRootTemplateIdentifier() const;
74 
78  virtual E_DocumentType getDocumentType() const;
79 
88  virtual OFBool checkContentRelationship(const E_ValueType sourceValueType,
89  const E_RelationshipType relationshipType,
90  const E_ValueType targetValueType,
91  const OFBool byReference = OFFalse) const;
92 };
93 
94 
95 #endif
96 
97 
98 /*
99  * CVS/RCS Log:
100  * $Log: dsrkeycc.h,v $
101  * Revision 1.5 2010-10-14 13:16:32 joergr
102  * Updated copyright header. Added reference to COPYRIGHT file.
103  *
104  * Revision 1.4 2010-09-30 08:57:14 joergr
105  * Renamed class and enumeration related to the Key Object Selection Document.
106  *
107  * Revision 1.3 2005-12-08 16:05:08 meichel
108  * Changed include path schema for all DCMTK header files
109  *
110  * Revision 1.2 2003/10/09 12:56:42 joergr
111  * Added check for root template identifier when reading an SR document.
112  *
113  * Revision 1.1 2003/09/15 14:22:04 joergr
114  * Introduced new class to facilitate checking of SR IOD relationship content
115  * constraints. Replaced old implementation distributed over numerous classes.
116  *
117  */
Class for checking the content relationship constraints of an SR IOD (abstract)
Definition: dsriodcc.h:45
virtual OFBool isTemplateSupportRequired() const
check whether this SR IOD requires template support
DSRKeyObjectSelectionDocumentConstraintChecker()
default constructor
virtual E_DocumentType getDocumentType() const
get the associated document type of the SR IOD
E_RelationshipType
SR relationship types.
Definition: dsrtypes.h:393
Class for checking the content relationship constraints of the Key Object Selection Document IOD...
Definition: dsrkeycc.h:46
virtual ~DSRKeyObjectSelectionDocumentConstraintChecker()
destructor
E_ValueType
SR value types.
Definition: dsrtypes.h:421
virtual const char * getRootTemplateIdentifier() const
get identifier of the root template
E_DocumentType
SR document types.
Definition: dsrtypes.h:357
virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
check whether specified content relationship is allowed for this IOD
virtual OFBool isByReferenceAllowed() const
check whether by-reference relationships are allowed for this SR IOD


Generated on Wed Dec 28 2016 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.8