dcmqrcbf.h

来自「转化为DIB位图再显示出来的dicom文件C++代码」· C头文件 代码 · 共 121 行

H
121
字号
/* * *  Copyright (C) 1993-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:  dcmqrdb * *  Author:  Marco Eichelberg * *  Purpose: class DcmQueryRetrieveFindContext * *  Last Update:      $Author: meichel $ *  Update Date:      $Date: 2005/12/08 16:04:16 $ *  Source File:      $Source: /share/dicom/cvs-depot/dcmtk/dcmqrdb/include/dcmtk/dcmqrdb/dcmqrcbf.h,v $ *  CVS/RCS Revision: $Revision: 1.2 $ *  Status:           $State: Exp $ * *  CVS/RCS Log at end of file * */#ifndef DCMQRCBF_H#define DCMQRCBF_H#include "dcmtk/config/osconfig.h"    /* make sure OS specific configuration is included first */#include "dcmtk/dcmnet/dimse.h"class DcmQueryRetrieveDatabaseHandle;class DcmQueryRetrieveOptions;/** this class maintains the context information that is passed to the  *  callback function called by DIMSE_findProvider. */class DcmQueryRetrieveFindContext{public:    /** constructor     *  @param handle reference to database handle     *  @param options options for the Q/R service     *  @param priorStat prior DIMSE status     */    DcmQueryRetrieveFindContext(      DcmQueryRetrieveDatabaseHandle& handle,      const DcmQueryRetrieveOptions& options,      DIC_US priorStat)    : dbHandle(handle)    , options_(options)    , priorStatus(priorStat)    , ourAETitle()    {    }    /** set the AEtitle under which this application operates     *  @param ae AEtitle, is copied into this object.     */    void setOurAETitle(const char *ae)    {      if (ae) ourAETitle = ae; else ourAETitle.clear();    }        /** callback handler called by the DIMSE_storeProvider callback function.     *  @param cancelled (in) flag indicating whether a C-CANCEL was received     *  @param request original find request (in)      *  @param requestIdentifiers original find request identifiers (in)     *  @param responseCount find response count (in)     *  @param response find response (out)     *  @param responseIdentifiers find response identifiers (out)     *  @param stDetail status detail for find response (out)     */    void callbackHandler(	OFBool cancelled, T_DIMSE_C_FindRQ *request, 	DcmDataset *requestIdentifiers, int responseCount,	T_DIMSE_C_FindRSP *response,	DcmDataset **responseIdentifiers,	DcmDataset **stDetail);private:    /// reference to database handle    DcmQueryRetrieveDatabaseHandle& dbHandle;    /// reference to Q/R service options    const DcmQueryRetrieveOptions& options_;    /// prior DIMSE status    DIC_US priorStatus;    /// our current title    OFString ourAETitle;};#endif/* * CVS Log * $Log: dcmqrcbf.h,v $ * Revision 1.2  2005/12/08 16:04:16  meichel * Changed include path schema for all DCMTK header files * * Revision 1.1  2005/03/30 13:34:50  meichel * Initial release of module dcmqrdb that will replace module imagectn. *   It provides a clear interface between the Q/R DICOM front-end and the *   database back-end. The imagectn code has been re-factored into a minimal *   class structure. * * */

⌨️ 快捷键说明

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