00001 /* 00002 * 00003 * Copyright (C) 2003-2010, OFFIS e.V. 00004 * All rights reserved. See COPYRIGHT file for details. 00005 * 00006 * This software and supporting documentation were developed by 00007 * 00008 * OFFIS e.V. 00009 * R&D Division Health 00010 * Escherweg 2 00011 * D-26121 Oldenburg, Germany 00012 * 00013 * 00014 * Module: dcmsr 00015 * 00016 * Author: Joerg Riesmeier 00017 * 00018 * Purpose: 00019 * classes: DSRChestCadSRConstraintChecker 00020 * 00021 * Last Update: $Author: joergr $ 00022 * Update Date: $Date: 2010-10-14 13:16:31 $ 00023 * CVS/RCS Revision: $Revision: 1.4 $ 00024 * Status: $State: Exp $ 00025 * 00026 * CVS/RCS Log at end of file 00027 * 00028 */ 00029 00030 00031 #ifndef DSRCHECC_H 00032 #define DSRCHECC_H 00033 00034 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00035 00036 #include "dcmtk/dcmsr/dsriodcc.h" 00037 00038 00039 /*---------------------* 00040 * class declaration * 00041 *---------------------*/ 00042 00045 class DSRChestCadSRConstraintChecker 00046 : public DSRIODConstraintChecker 00047 { 00048 00049 public: 00050 00053 DSRChestCadSRConstraintChecker(); 00054 00057 virtual ~DSRChestCadSRConstraintChecker(); 00058 00062 virtual OFBool isByReferenceAllowed() const; 00063 00067 virtual OFBool isTemplateSupportRequired() const; 00068 00072 virtual const char *getRootTemplateIdentifier() const; 00073 00077 virtual E_DocumentType getDocumentType() const; 00078 00087 virtual OFBool checkContentRelationship(const E_ValueType sourceValueType, 00088 const E_RelationshipType relationshipType, 00089 const E_ValueType targetValueType, 00090 const OFBool byReference = OFFalse) const; 00091 }; 00092 00093 00094 #endif 00095 00096 00097 /* 00098 * CVS/RCS Log: 00099 * $Log: dsrchecc.h,v $ 00100 * Revision 1.4 2010-10-14 13:16:31 joergr 00101 * Updated copyright header. Added reference to COPYRIGHT file. 00102 * 00103 * Revision 1.3 2005-12-08 16:04:49 meichel 00104 * Changed include path schema for all DCMTK header files 00105 * 00106 * Revision 1.2 2003/10/09 12:56:42 joergr 00107 * Added check for root template identifier when reading an SR document. 00108 * 00109 * Revision 1.1 2003/09/15 14:21:05 joergr 00110 * Added content relationship constraint checking support for Mammography CAD 00111 * SR and Chest CAD SR. 00112 * 00113 */