Odil
A C++11 library for the DICOM standard
CStoreResponse.h
Go to the documentation of this file.
1 /*************************************************************************
2  * odil - Copyright (C) Universite de Strasbourg
3  * Distributed under the terms of the CeCILL-B license, as published by
4  * the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5  * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6  * for details.
7  ************************************************************************/
8 
9 #ifndef _7e193624_081c_47dd_a011_986e96916ea9
10 #define _7e193624_081c_47dd_a011_986e96916ea9
11 
12 #include "odil/odil.h"
13 #include "odil/registry.h"
14 #include "odil/message/Response.h"
15 #include "odil/Value.h"
16 
17 namespace odil
18 {
19 
20 namespace message
21 {
22 
25 {
26 public:
28  enum Status
29  {
30  // Failure
31  RefusedOutOfResources=0xA700,
32  ErrorDataSetDoesNotMatchSOPClass=0xA900,
33  ErrorCannotUnderstand=0xC000,
34  // Warning
35  CoercionOfDataElements=0xB000,
36  DataSetDoesNotMatchSOPClass=0xB007,
37  ElementsDiscarded=0xB006,
38  };
39 
44  Value::Integer message_id_being_responded_to, Value::Integer status);
45 
51  CStoreResponse(Message const & message);
52 
54  virtual ~CStoreResponse();
55 
58  affected_sop_class_uid, registry::AffectedSOPClassUID)
60  affected_sop_instance_uid, registry::AffectedSOPInstanceUID)
61 };
62 
63 }
64 
65 }
66 
67 #endif // _7e193624_081c_47dd_a011_986e96916ea9
Tag const AffectedSOPClassUID(0x0000, 0x0002)
Status
C-STORE status codes, PS 3.4, B.2.3.
Definition: CStoreResponse.h:28
int64_t Integer
Integer type.
Definition: Value.h:42
Base class for all DIMSE messages.
Definition: Message.h:76
Tag const MessageID(0x0000, 0x0110)
#define ODIL_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(name, tag)
Definition: Message.h:67
Definition: Association.h:24
Tag const AffectedSOPInstanceUID(0x0000, 0x1000)
C-STORE-RSP message.
Definition: CStoreResponse.h:24
#define ODIL_API
Definition: odil.h:28
#define ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(name, tag)
Definition: Message.h:70
Base class for all DIMSE response messages.
Definition: Response.h:24