OFFIS DCMTK  Version 3.6.0
dcmqrdbs.h
1 /*
2  *
3  * Copyright (C) 1993-2010, OFFIS e.V.
4  * All rights reserved. See COPYRIGHT file for details.
5  *
6  * This software and supporting documentation were developed by
7  *
8  * OFFIS e.V.
9  * R&D Division Health
10  * Escherweg 2
11  * D-26121 Oldenburg, Germany
12  *
13  *
14  * Module: dcmqrdb
15  *
16  * Author: Marco Eichelberg
17  *
18  * Purpose: class DcmQueryRetrieveDatabaseStatus
19  *
20  * Last Update: $Author: joergr $
21  * Update Date: $Date: 2010-10-14 13:16:41 $
22  * CVS/RCS Revision: $Revision: 1.4 $
23  * Status: $State: Exp $
24  *
25  * CVS/RCS Log at end of file
26  *
27  */
28 
29 #ifndef DCMQRDBS_H
30 #define DCMQRDBS_H
31 
32 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
33 #include "dcmtk/ofstd/oftypes.h"
34 
35 class DcmDataset;
36 
44 {
45 public:
49  DcmQueryRetrieveDatabaseStatus(Uint16 s = 0);
50 
53 
56 
59 
61  void deleteStatusDetail();
62 
67 
69  Uint16 status() const { return status_; }
70 
74  void setStatus(Uint16 s) { status_ = s; }
75 
76 private:
78  Uint16 status_;
79 
82 };
83 
84 #endif
85 
86 /*
87  * CVS Log
88  * $Log: dcmqrdbs.h,v $
89  * Revision 1.4 2010-10-14 13:16:41 joergr
90  * Updated copyright header. Added reference to COPYRIGHT file.
91  *
92  * Revision 1.3 2009-08-21 09:50:07 joergr
93  * Replaced tabs by spaces and updated copyright date.
94  *
95  * Revision 1.2 2005/12/08 16:04:23 meichel
96  * Changed include path schema for all DCMTK header files
97  *
98  * Revision 1.1 2005/03/30 13:34:50 meichel
99  * Initial release of module dcmqrdb that will replace module imagectn.
100  * It provides a clear interface between the Q/R DICOM front-end and the
101  * database back-end. The imagectn code has been re-factored into a minimal
102  * class structure.
103  *
104  *
105  */
~DcmQueryRetrieveDatabaseStatus()
destructor
void deleteStatusDetail()
delete status detail, if any
Uint16 status_
the status flag as defined for the various DIMSE services
Definition: dcmqrdbs.h:78
DcmDataset * extractStatusDetail()
return pointer to status detail object, then set status detail to NULL
Uint16 status() const
return status value
Definition: dcmqrdbs.h:69
void setStatus(Uint16 s)
set new status value
Definition: dcmqrdbs.h:74
a class handling the DICOM dataset format (files without meta header)
Definition: dcdatset.h:46
DcmQueryRetrieveDatabaseStatus(Uint16 s=0)
default constructor
DcmDataset * statusDetail_
an optional DICOM dataset with status detail, may be NULL.
Definition: dcmqrdbs.h:81
DcmQueryRetrieveDatabaseStatus & operator=(const DcmQueryRetrieveDatabaseStatus &org)
copy assignment operator
this class describes the result of a database operation (for an incoming C-FIND, C-MOVE, C-GET or C-STORE request) in a format that can directly be communicated to the remote SCU in a DIMSE RSP message.
Definition: dcmqrdbs.h:43


Generated on Thu Aug 27 2015 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.9.1