GDCM  2.4.5
gdcmDIMSE.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: GDCM (Grassroots DICOM). A DICOM library
4 
5  Copyright (c) 2006-2011 Mathieu Malaterre
6  All rights reserved.
7  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 #ifndef GDCMDIMSE_H
15 #define GDCMDIMSE_H
16 
17 #include "gdcmTypes.h"
18 
19 namespace gdcm
20 {
21 
22 namespace network
23 {
24 
33 class DIMSE {
34 public:
35  typedef enum {
36 C_STORE_RQ = 0x0001,
37 C_STORE_RSP = 0x8001,
38 C_GET_RQ = 0x0010,
39 C_GET_RSP = 0x8010,
40 C_FIND_RQ = 0x0020,
41 C_FIND_RSP = 0x8020,
42 C_MOVE_RQ = 0x0021,
43 C_MOVE_RSP = 0x8021,
44 C_ECHO_RQ = 0x0030,
45 C_ECHO_RSP = 0x8030,
48 N_GET_RQ = 0x0110,
49 N_GET_RSP = 0x8110,
50 N_SET_RQ = 0x0120,
51 N_SET_RSP = 0x8120,
52 N_ACTION_RQ = 0x0130,
53 N_ACTION_RSP = 0x8130,
54 N_CREATE_RQ = 0x0140,
55 N_CREATE_RSP = 0x8140,
56 N_DELETE_RQ = 0x0150,
57 N_DELETE_RSP = 0x8150,
58 C_CANCEL_RQ = 0x0FFF
59  } CommandTypes;
60 };
61 
62 /*
63 9.1.5.1 C-ECHO parameters
64 Table 9.1-5
65 C-ECHO PARAMETERS
66 */
67 class CEchoRQ
68 {
69 public:
70  uint16_t MessageID; /* M */
72 };
73 
74 class CEchoRSP
75 {
76 public:
77 /*
78 Message ID M U
79 Message ID Being Responded To  M
80 Affected SOP Class UID M U(=)
81 Status  M
82 */
83 };
84 
89 class CFind
90 {
91 /*
92 Failure Refused: Out of Resources A700 (0000,0902)
93 Identifier does not match SOP Class A900 (0000,0901)
94 (0000,0902)
95 Unable to process Cxxx (0000,0901)
96 (0000,0902)
97 Cancel Matching terminated due to Cancel
98 request
99 FE00 None
100 Success Matching is complete – No final Identifier
101 is supplied.
102 0000 None
103 Pending Matches are continuing – Current Match
104 is supplied and any Optional Keys were
105 supported in the same manner as
106 Required Keys.
107 FF00 Identifier
108 Matches are continuing – Warning that
109 one or more Optional Keys were not
110 supported for existence and/or matching
111 for this Identifier.
112 FF01 Identifier
113 */
114 };
115 
116 
117 } // end namespace network
118 
119 } // end namespace gdcm
120 
121 #endif //GDCMDIMSE_H
Definition: gdcmDIMSE.h:44
CommandTypes
Definition: gdcmDIMSE.h:35
Definition: gdcmDIMSE.h:38
Definition: gdcmDIMSE.h:55
Definition: gdcmDIMSE.h:43
Definition: gdcmDIMSE.h:45
Definition: gdcmDIMSE.h:56
UIComp AffectedSOPClassUID
Definition: gdcmDIMSE.h:71
CEchoRSP this file defines the messages for the cecho action.
Definition: gdcmCEchoMessages.h:42
Definition: gdcmDIMSE.h:53
Definition: gdcmDIMSE.h:54
Definition: gdcmDIMSE.h:42
Definition: gdcmDIMSE.h:37
uint16_t MessageID
Definition: gdcmDIMSE.h:70
Definition: gdcmDIMSE.h:58
Definition: gdcmDIMSE.h:48
Definition: gdcmDIMSE.h:89
Definition: gdcmDIMSE.h:49
Definition: gdcmDIMSE.h:57
Definition: gdcmDIMSE.h:40
Definition: gdcmDIMSE.h:36
DIMSE PS 3.7 - 2009 Annex E Command Dictionary (Normative) E.1 REGISTRY OF DICOM COMMAND ELEMENTS Tab...
Definition: gdcmDIMSE.h:33
Definition: gdcmDIMSE.h:50
String.
Definition: gdcmString.h:31
Definition: gdcmDIMSE.h:51
Definition: gdcmASN1.h:20
Definition: gdcmDIMSE.h:39
Definition: gdcmDIMSE.h:52
Definition: gdcmDIMSE.h:46
Definition: gdcmDIMSE.h:41

Generated on Fri Sep 25 2015 17:58:22 for GDCM by doxygen 1.8.9.1
SourceForge.net Logo