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: Marco Eichelberg 00017 * 00018 * Purpose: class DcmQueryRetrieveDatabaseStatus 00019 * 00020 * Last Update: $Author: joergr $ 00021 * Update Date: $Date: 2010-10-14 13:16:41 $ 00022 * CVS/RCS Revision: $Revision: 1.4 $ 00023 * Status: $State: Exp $ 00024 * 00025 * CVS/RCS Log at end of file 00026 * 00027 */ 00028 00029 #ifndef DCMQRDBS_H 00030 #define DCMQRDBS_H 00031 00032 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00033 #include "dcmtk/ofstd/oftypes.h" 00034 00035 class DcmDataset; 00036 00043 class DcmQueryRetrieveDatabaseStatus 00044 { 00045 public: 00049 DcmQueryRetrieveDatabaseStatus(Uint16 s = 0); 00050 00052 DcmQueryRetrieveDatabaseStatus(const DcmQueryRetrieveDatabaseStatus& org); 00053 00055 ~DcmQueryRetrieveDatabaseStatus(); 00056 00058 DcmQueryRetrieveDatabaseStatus& operator=(const DcmQueryRetrieveDatabaseStatus& org); 00059 00061 void deleteStatusDetail(); 00062 00066 DcmDataset *extractStatusDetail(); 00067 00069 Uint16 status() const { return status_; } 00070 00074 void setStatus(Uint16 s) { status_ = s; } 00075 00076 private: 00078 Uint16 status_; 00079 00081 DcmDataset *statusDetail_; 00082 }; 00083 00084 #endif 00085 00086 /* 00087 * CVS Log 00088 * $Log: dcmqrdbs.h,v $ 00089 * Revision 1.4 2010-10-14 13:16:41 joergr 00090 * Updated copyright header. Added reference to COPYRIGHT file. 00091 * 00092 * Revision 1.3 2009-08-21 09:50:07 joergr 00093 * Replaced tabs by spaces and updated copyright date. 00094 * 00095 * Revision 1.2 2005/12/08 16:04:23 meichel 00096 * Changed include path schema for all DCMTK header files 00097 * 00098 * Revision 1.1 2005/03/30 13:34:50 meichel 00099 * Initial release of module dcmqrdb that will replace module imagectn. 00100 * It provides a clear interface between the Q/R DICOM front-end and the 00101 * database back-end. The imagectn code has been re-factored into a minimal 00102 * class structure. 00103 * 00104 * 00105 */