Repository navigation
Expand file tree
/
Copy pathdimsec.hpp
More file actions
159 lines (146 loc) · 4.37 KB
/
Copy pathdimsec.hpp
File metadata and controls
159 lines (146 loc) · 4.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
/*
20030606 ljz Added parameter 'QueryRetrieveLevel' to CFindRSP::Write
20050129 mvh Added Write with extra vr to CEchoRSP
20070314 mvh Allow send of 0000,1030 (MoveOriginatorAE) and 0000,1031 (MoveOriginatorMessageID)
in CStoreRQ
20100619 bcb Added virtual destructors (gcc4.0 Warnings)
20100717 bcb Merged
*/
/****************************************************************************
Copyright (C) 1995, University of California, Davis
THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND THE UNIVERSITY
OF CALIFORNIA DOES NOT MAKE ANY WARRANTY ABOUT THE SOFTWARE, ITS
PERFORMANCE, ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
USE, FREEDOM FROM ANY COMPUTER DISEASES OR ITS CONFORMITY TO ANY
SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF
THE SOFTWARE IS WITH THE USER.
Copyright of the software and supporting documentation is
owned by the University of California, and free access
is hereby granted as a license to use this software, copy this
software and prepare derivative works based upon this software.
However, any distribution of this software source code or
supporting documentation or derivative works (source code and
supporting documentation) must include this copyright notice.
****************************************************************************/
/***************************************************************************
*
* University of California, Davis
* UCDMC DICOM Network Transport Libraries
* Version 0.1 Beta
*
* Technical Contact: mhoskin@ucdavis.edu
*
***************************************************************************/
class CEchoRQ
{
public:
BOOL Read ( DICOMCommandObject * );
BOOL Write ( PDU_Service * );
virtual BOOL GetUID ( UID & ) = 0;
#ifdef __GNUC__
virtual ~CEchoRQ() {};
#endif
};
class CEchoRSP
{
public:
BOOL Read ( DICOMCommandObject * );
BOOL Write ( PDU_Service *, DICOMCommandObject *, UINT16, VR * );
BOOL Write ( PDU_Service *, DICOMCommandObject *, UINT16 );
BOOL Write ( PDU_Service *, DICOMCommandObject * );
virtual BOOL GetUID ( UID & ) = 0;
#ifdef __GNUC__
virtual ~CEchoRSP() {};
#endif
};
class CStoreRQ
{
public:
BOOL Read ( DICOMCommandObject *,
PDU_Service *,
DICOMDataObject * );
BOOL Read ( DICOMCommandObject * );
BOOL Write ( PDU_Service * , DICOMDataObject *, VR *MoveMessageID = NULL, unsigned char *CallingAE = NULL);
virtual BOOL GetUID ( UID & ) = 0;
#ifdef __GNUC__
virtual ~CStoreRQ() {};
#endif
};
class CStoreRSP
{
public:
BOOL Read ( DICOMCommandObject * );
BOOL Write ( PDU_Service * , DICOMCommandObject *, UINT16 );
BOOL Write ( PDU_Service *, DICOMCommandObject * );
virtual BOOL GetUID ( UID & ) = 0;
#ifdef __GNUC__
virtual ~CStoreRSP() {};
#endif
};
class CFindRQ
{
public:
BOOL Read ( DICOMCommandObject *,
PDU_Service *,
DICOMDataObject * );
BOOL Read ( DICOMCommandObject * );
BOOL Write ( PDU_Service * , DICOMDataObject *);
virtual BOOL GetUID ( UID & ) = 0;
#ifdef __GNUC__
virtual ~CFindRQ() {};
#endif
};
class CFindRSP
{
public:
BOOL Read ( DICOMCommandObject *,
PDU_Service *,
DICOMDataObject * );
BOOL Read ( DICOMCommandObject * );
BOOL Write ( PDU_Service *,
DICOMCommandObject *,
UINT16,
DICOMDataObject *,
char* QueryRetrieveLevel);
BOOL Write ( PDU_Service *,
DICOMCommandObject *,
DICOMDataObject *,
char* QueryRetrieveLevel);
virtual BOOL GetUID ( UID & ) = 0;
#ifdef __GNUC__
virtual ~CFindRSP() {};
#endif
};
class CMoveRQ
{
public:
BOOL Read ( DICOMCommandObject *,
PDU_Service *,
DICOMDataObject * );
BOOL Read ( DICOMCommandObject * );
BOOL Write ( PDU_Service * , DICOMDataObject *, BYTE *);
virtual BOOL GetUID ( UID & ) = 0;
#ifdef __GNUC__
virtual ~CMoveRQ() {};
#endif
};
class CMoveRSP
{
public:
BOOL Read ( DICOMCommandObject *,
PDU_Service *,
DICOMDataObject * );
BOOL Read ( DICOMCommandObject * );
BOOL Write ( PDU_Service *,
DICOMCommandObject *,
UINT16,
UINT16,
UINT16,
UINT16,
UINT16,
DICOMDataObject *);
virtual BOOL GetUID ( UID & ) = 0;
#ifdef __GNUC__
virtual ~CMoveRSP() {};
#endif
};