GDCM 2.2.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

gdcmDIMSE.h
Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program: GDCM (Grassroots DICOM). A DICOM library
    00004
    00005   Copyright (c) 2006-2011 Mathieu Malaterre
    00006   All rights reserved.
    00007   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
    00008
    00009      This software is distributed WITHOUT ANY WARRANTY; without even
    00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00011      PURPOSE.  See the above copyright notice for more information.
    00012
    00013 =========================================================================*/
    00014 #ifndef GDCMDIMSE_H
    00015 #define GDCMDIMSE_H
    00016
    00017 #include "gdcmTypes.h"
    00018
    00019 namespace gdcm
    00020 {
    00021
    00022 namespace network
    00023 {
    00024
    00033 class DIMSE {
    00034 public:
    00035   typedef enum {
    00036 C_STORE_RQ         = 0x0001,
    00037 C_STORE_RSP        = 0x8001,
    00038 C_GET_RQ           = 0x0010,
    00039 C_GET_RSP          = 0x8010,
    00040 C_FIND_RQ          = 0x0020,
    00041 C_FIND_RSP         = 0x8020,
    00042 C_MOVE_RQ          = 0x0021,
    00043 C_MOVE_RSP         = 0x8021,
    00044 C_ECHO_RQ          = 0x0030,
    00045 C_ECHO_RSP         = 0x8030,
    00046 N_EVENT_REPORT_RQ  = 0x0100,
    00047 N_EVENT_REPORT_RSP = 0x8100,
    00048 N_GET_RQ           = 0x0110,
    00049 N_GET_RSP          = 0x8110,
    00050 N_SET_RQ           = 0x0120,
    00051 N_SET_RSP          = 0x8120,
    00052 N_ACTION_RQ        = 0x0130,
    00053 N_ACTION_RSP       = 0x8130,
    00054 N_CREATE_RQ        = 0x0140,
    00055 N_CREATE_RSP       = 0x8140,
    00056 N_DELETE_RQ        = 0x0150,
    00057 N_DELETE_RSP       = 0x8150,
    00058 C_CANCEL_RQ        = 0x0FFF
    00059   } CommandTypes;
    00060 };
    00061
    00062 /*
    00063 9.1.5.1 C-ECHO parameters
    00064 Table 9.1-5
    00065 C-ECHO PARAMETERS
    00066 */
    00067 class CEchoRQ
    00068 {
    00069 public:
    00070   uint16_t          MessageID;                              /* M */
    00071   UIComp            AffectedSOPClassUID;                    /* M */
    00072 };
    00073
    00074 class CEchoRSP
    00075 {
    00076 public:
    00077 /*
    00078 Message ID M U
    00079 Message ID Being Responded To  M
    00080 Affected SOP Class UID M U(=)
    00081 Status  M
    00082 */
    00083 };
    00084
    00089 class CFind
    00090 {
    00091 /*
    00092 Failure Refused: Out of Resources A700 (0000,0902)
    00093 Identifier does not match SOP Class A900 (0000,0901)
    00094 (0000,0902)
    00095 Unable to process Cxxx (0000,0901)
    00096 (0000,0902)
    00097 Cancel Matching terminated due to Cancel
    00098 request
    00099 FE00 None
    00100 Success Matching is complete – No final Identifier
    00101 is supplied.
    00102 0000 None
    00103 Pending Matches are continuing – Current Match
    00104 is supplied and any Optional Keys were
    00105 supported in the same manner as
    00106 Required Keys.
    00107 FF00 Identifier
    00108 Matches are continuing – Warning that
    00109 one or more Optional Keys were not
    00110 supported for existence and/or matching
    00111 for this Identifier.
    00112 FF01 Identifier
    00113 */
    00114 };
    00115
    00116
    00117 } // end namespace network
    00118
    00119 } // end namespace gdcm
    00120
    00121 #endif //GDCMDIMSE_H