⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dsrbascc.h

📁 转化为DIB位图再显示出来的dicom文件C++代码
💻 H
字号:
/* * *  Copyright (C) 2005, OFFIS * *  This software and supporting documentation were developed by * *    Kuratorium OFFIS e.V. *    Healthcare Information and Communication Systems *    Escherweg 2 *    D-26121 Oldenburg, Germany * *  THIS SOFTWARE IS MADE AVAILABLE,  AS IS,  AND OFFIS MAKES NO  WARRANTY *  REGARDING  THE  SOFTWARE,  ITS  PERFORMANCE,  ITS  MERCHANTABILITY  OR *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES  OR *  ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND *  PERFORMANCE OF THE SOFTWARE IS WITH THE USER. * *  Module: dcmsr * *  Author: Joerg Riesmeier * *  Purpose: *    classes: DSRBasicTextSRConstraintChecker * *  Last Update:      $Author: meichel $ *  Update Date:      $Date: 2005/12/08 16:04:48 $ *  CVS/RCS Revision: $Revision: 1.3 $ *  Status:           $State: Exp $ * *  CVS/RCS Log at end of file * */#ifndef DSRBASCC_H#define DSRBASCC_H#include "dcmtk/config/osconfig.h"   /* make sure OS specific configuration is included first */#include "dcmtk/dcmsr/dsriodcc.h"/*---------------------* *  class declaration  * *---------------------*//** Class for checking the content relationship constraints of the Basic Text SR IOD */class DSRBasicTextSRConstraintChecker  : public DSRIODConstraintChecker{  public:    /** default constructor     */    DSRBasicTextSRConstraintChecker();    /** destructor     */    virtual ~DSRBasicTextSRConstraintChecker();    /** check whether by-reference relationships are allowed for this SR IOD     ** @return always returns OFFalse, i.e. by-reference relationships are not allowed     */    virtual OFBool isByReferenceAllowed() const;    /** check whether this SR IOD requires template support     ** @return always returns OFFalse, i.e. template support is not required     */    virtual OFBool isTemplateSupportRequired() const;    /** get identifier of the root template     ** @return always returns NULL (no template required)     */    virtual const char *getRootTemplateIdentifier() const;    /** get the associated document type of the SR IOD     ** @return document type (DSRTypes::DT_BasicTextSR)     */    virtual E_DocumentType getDocumentType() const;    /** check whether specified content relationship is allowed for this IOD     ** @param  sourceValueType   value type of the source content item to be checked     *  @param  relationshipType  type of relationship between source and target item     *  @param  targetValueType   value type of the target content item to be checked     *  @param  byReference       optional flag indicating whether the node/relationship     *                            should be added by-value (default) or by-reference     ** @return OFTrue if content relationship is allowed, OFFalse otherwise     */    virtual OFBool checkContentRelationship(const E_ValueType sourceValueType,                                            const E_RelationshipType relationshipType,                                            const E_ValueType targetValueType,                                            const OFBool byReference = OFFalse) const;};#endif/* *  CVS/RCS Log: *  $Log: dsrbascc.h,v $ *  Revision 1.3  2005/12/08 16:04:48  meichel *  Changed include path schema for all DCMTK header files * *  Revision 1.2  2003/10/09 12:56:42  joergr *  Added check for root template identifier when reading an SR document. * *  Revision 1.1  2003/09/15 14:22:04  joergr *  Introduced new class to facilitate checking of SR IOD relationship content *  constraints. Replaced old implementation distributed over numerous classes. * */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -