dcmqrdb/include/dcmtk/dcmqrdb/dcmqropt.h

00001 /*
00002  *
00003  *  Copyright (C) 1993-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:  dcmqrdb
00015  *
00016  *  Author:  Andrew Hewett
00017  *
00018  *  Purpose: class DcmQueryRetrieveOptions
00019  *
00020  *  Last Update:      $Author: joergr $
00021  *  Update Date:      $Date: 2010-10-14 13:16:41 $
00022  *  CVS/RCS Revision: $Revision: 1.8 $
00023  *  Status:           $State: Exp $
00024  *
00025  *  CVS/RCS Log at end of file
00026  *
00027  */
00028 
00029 #ifndef DCMQROPT_H
00030 #define DCMQROPT_H
00031 
00032 #include "dcmtk/config/osconfig.h"    /* make sure OS specific configuration is included first */
00033 
00034 #include "dcmtk/dcmdata/dcxfer.h"
00035 #include "dcmtk/dcmnet/dicom.h"
00036 #include "dcmtk/dcmnet/cond.h"
00037 #include "dcmtk/dcmnet/assoc.h"
00038 #include "dcmtk/dcmqrdb/dcmqrcnf.h"
00039 #include "dcmtk/ofstd/ofconapp.h"
00040 #include "dcmtk/dcmnet/dimse.h"
00041 
00043 extern const OFCondition APP_INVALIDPEER;
00044 
00048 class DcmQueryRetrieveOptions
00049 {
00050 public:
00052   DcmQueryRetrieveOptions();
00053 
00055   ~DcmQueryRetrieveOptions();
00056 
00057   // these member variables should be private but are public for now
00058 
00060   OFBool            allowShutdown_;
00061 
00063   OFBool            bitPreserving_;
00064 
00066   OFBool            correctUIDPadding_;
00067 
00069   OFBool            disableGetSupport_;
00070 
00072   OFCmdUnsignedInt  filepad_;
00073 
00075   E_GrpLenEncoding  groupLength_;
00076 
00078   OFBool            ignoreStoreData_;
00079 
00081   OFCmdUnsignedInt  itempad_;
00082 
00084   int               maxAssociations_;
00085 
00087   OFCmdUnsignedInt  maxPDU_;
00088 
00090   T_ASC_Network *   net_;
00091 
00093   E_TransferSyntax  networkTransferSyntax_;
00094 
00095 #ifndef DISABLE_COMPRESSION_EXTENSION
00097   E_TransferSyntax  networkTransferSyntaxOut_;
00098 #endif
00099 
00101   E_PaddingEncoding paddingType_;
00102 
00103   /* refuse storage presentation contexts in incoming associations
00104    * if a storage presentation context for the application entity already exists
00105    */
00106   OFBool            refuseMultipleStorageAssociations_;
00107 
00109   OFBool            refuse_;
00110 
00112   OFBool            rejectWhenNoImplementationClassUID_;
00113 
00115   OFBool            requireFindForMove_;
00116 
00118   OFBool            restrictMoveToSameAE_;
00119 
00121   OFBool            restrictMoveToSameHost_;
00122 
00124   OFBool            restrictMoveToSameVendor_;
00125 
00127   E_EncodingType    sequenceType_;
00128 
00130   OFBool            singleProcess_;
00131 
00133   OFBool            supportPatientRoot_;
00134 
00136   OFBool            supportPatientStudyOnly_;
00137 
00139   OFBool            supportStudyRoot_;
00140 
00142   OFBool            useMetaheader_;
00143 
00148   OFBool            keepDBHandleDuringAssociation_;
00149 
00151   E_TransferSyntax  writeTransferSyntax_;
00152 
00154   T_DIMSE_BlockingMode blockMode_;
00155 
00157   int dimse_timeout_;
00158 
00160   int acse_timeout_;
00161 
00162 };
00163 
00164 
00165 #endif
00166 
00167 /*
00168  * CVS Log
00169  * $Log: dcmqropt.h,v $
00170  * Revision 1.8  2010-10-14 13:16:41  joergr
00171  * Updated copyright header. Added reference to COPYRIGHT file.
00172  *
00173  * Revision 1.7  2009-11-24 10:10:42  uli
00174  * Switched to logging mechanism provided by the "new" oflog module.
00175  *
00176  * Revision 1.6  2009-08-21 09:50:07  joergr
00177  * Replaced tabs by spaces and updated copyright date.
00178  *
00179  * Revision 1.5  2005/12/08 16:04:25  meichel
00180  * Changed include path schema for all DCMTK header files
00181  *
00182  * Revision 1.4  2005/11/29 11:27:18  meichel
00183  * Added new flag keepDBHandleDuringAssociation_ which allows to determine
00184  *   whether a DB handle is kept open for a complete association or a single
00185  *   DIMSE message only. Also improved error handling of file locking.
00186  *
00187  * Revision 1.3  2005/11/29 10:54:54  meichel
00188  * Added minimal support for compressed transfer syntaxes to dcmqrscp.
00189  *   No on-the-fly decompression is performed, but compressed images can
00190  *   be stored and retrieved.
00191  *
00192  * Revision 1.2  2005/11/17 13:44:37  meichel
00193  * Added command line options for DIMSE and ACSE timeouts
00194  *
00195  * Revision 1.1  2005/03/30 13:34:50  meichel
00196  * Initial release of module dcmqrdb that will replace module imagectn.
00197  *   It provides a clear interface between the Q/R DICOM front-end and the
00198  *   database back-end. The imagectn code has been re-factored into a minimal
00199  *   class structure.
00200  *
00201  *
00202  */


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1