OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmqrdb
include
dcmtk
dcmqrdb
dcmqrcbf.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 DcmQueryRetrieveFindContext
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 DCMQRCBF_H
30
#define DCMQRCBF_H
31
32
#include "dcmtk/config/osconfig.h"
/* make sure OS specific configuration is included first */
33
#include "dcmtk/dcmnet/dimse.h"
34
35
class
DcmQueryRetrieveDatabaseHandle
;
36
class
DcmQueryRetrieveOptions
;
37
41
class
DcmQueryRetrieveFindContext
42
{
43
public
:
49
DcmQueryRetrieveFindContext
(
50
DcmQueryRetrieveDatabaseHandle
& handle,
51
const
DcmQueryRetrieveOptions
& options,
52
DIC_US priorStat)
53
:
dbHandle
(handle)
54
,
options_
(options)
55
,
priorStatus
(priorStat)
56
,
ourAETitle
()
57
{
58
}
59
63
void
setOurAETitle
(
const
char
*ae)
64
{
65
if
(ae)
ourAETitle
= ae;
else
ourAETitle
.
clear
();
66
}
67
77
void
callbackHandler
(
78
OFBool cancelled,
T_DIMSE_C_FindRQ
*request,
79
DcmDataset
*requestIdentifiers,
int
responseCount,
80
T_DIMSE_C_FindRSP
*response,
81
DcmDataset
**responseIdentifiers,
82
DcmDataset
**stDetail);
83
84
private
:
85
87
DcmQueryRetrieveDatabaseHandle
&
dbHandle
;
88
90
const
DcmQueryRetrieveOptions
&
options_
;
91
93
DIC_US
priorStatus
;
94
96
OFString
ourAETitle
;
97
98
};
99
100
#endif
101
102
/*
103
* CVS Log
104
* $Log: dcmqrcbf.h,v $
105
* Revision 1.4 2010-10-14 13:16:41 joergr
106
* Updated copyright header. Added reference to COPYRIGHT file.
107
*
108
* Revision 1.3 2009-08-21 09:50:07 joergr
109
* Replaced tabs by spaces and updated copyright date.
110
*
111
* Revision 1.2 2005/12/08 16:04:16 meichel
112
* Changed include path schema for all DCMTK header files
113
*
114
* Revision 1.1 2005/03/30 13:34:50 meichel
115
* Initial release of module dcmqrdb that will replace module imagectn.
116
* It provides a clear interface between the Q/R DICOM front-end and the
117
* database back-end. The imagectn code has been re-factored into a minimal
118
* class structure.
119
*
120
*
121
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2