dcmqrdbs.h

00001 /*
00002  *
00003  *  Copyright (C) 1993-2005, OFFIS
00004  *
00005  *  This software and supporting documentation were developed by
00006  *
00007  *    Kuratorium OFFIS e.V.
00008  *    Healthcare Information and Communication Systems
00009  *    Escherweg 2
00010  *    D-26121 Oldenburg, Germany
00011  *
00012  *  THIS SOFTWARE IS MADE AVAILABLE,  AS IS,  AND OFFIS MAKES NO  WARRANTY
00013  *  REGARDING  THE  SOFTWARE,  ITS  PERFORMANCE,  ITS  MERCHANTABILITY  OR
00014  *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES  OR
00015  *  ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND
00016  *  PERFORMANCE OF THE SOFTWARE IS WITH THE USER.
00017  *
00018  *  Module:  dcmqrdb
00019  *
00020  *  Author:  Marco Eichelberg
00021  *
00022  *  Purpose: class DcmQueryRetrieveDatabaseStatus
00023  *
00024  *  Last Update:      $Author: meichel $
00025  *  Update Date:      $Date: 2005/12/08 16:04:23 $
00026  *  Source File:      $Source: /share/dicom/cvs-depot/dcmtk/dcmqrdb/include/dcmtk/dcmqrdb/dcmqrdbs.h,v $
00027  *  CVS/RCS Revision: $Revision: 1.2 $
00028  *  Status:           $State: Exp $
00029  *
00030  *  CVS/RCS Log at end of file
00031  *
00032  */
00033 
00034 #ifndef DCMQRDBS_H
00035 #define DCMQRDBS_H
00036 
00037 #include "dcmtk/config/osconfig.h"    /* make sure OS specific configuration is included first */
00038 #include "dcmtk/ofstd/oftypes.h"
00039 
00040 class DcmDataset;
00041 
00048 class DcmQueryRetrieveDatabaseStatus
00049 {
00050 public:
00054   DcmQueryRetrieveDatabaseStatus(Uint16 s = 0);
00055 
00057   DcmQueryRetrieveDatabaseStatus(const DcmQueryRetrieveDatabaseStatus& org);
00058 
00060   ~DcmQueryRetrieveDatabaseStatus();
00061 
00063   DcmQueryRetrieveDatabaseStatus& operator=(const DcmQueryRetrieveDatabaseStatus& org);
00064   
00066   void deleteStatusDetail();
00067   
00071   DcmDataset *extractStatusDetail();
00072 
00074   Uint16 status() const { return status_; }
00075 
00079   void setStatus(Uint16 s) { status_ = s; }
00080     
00081 private:
00083   Uint16 status_;
00084 
00086   DcmDataset *statusDetail_;
00087 };
00088 
00089 #endif
00090 
00091 /*
00092  * CVS Log
00093  * $Log: dcmqrdbs.h,v $
00094  * Revision 1.2  2005/12/08 16:04:23  meichel
00095  * Changed include path schema for all DCMTK header files
00096  *
00097  * Revision 1.1  2005/03/30 13:34:50  meichel
00098  * Initial release of module dcmqrdb that will replace module imagectn.
00099  *   It provides a clear interface between the Q/R DICOM front-end and the
00100  *   database back-end. The imagectn code has been re-factored into a minimal
00101  *   class structure.
00102  *
00103  *
00104  */


Generated on 20 Dec 2005 for OFFIS DCMTK Version 3.5.4 by Doxygen 1.4.5