dcmtkpp
CStoreResponse.h
1 /*************************************************************************
2  * dcmtkpp - 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 "dcmtkpp/registry.h"
13 #include "dcmtkpp/Response.h"
14 #include "dcmtkpp/Value.h"
15 
16 namespace dcmtkpp
17 {
18 
20 class CStoreResponse: public Response
21 {
22 public:
27  Value::Integer message_id_being_responded_to, Value::Integer status);
28 
34  CStoreResponse(Message const & message);
35 
37  virtual ~CStoreResponse();
38 
39  DCMTKPP_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(message_id, registry::MessageID)
40  DCMTKPP_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(
41  affected_sop_class_uid, registry::AffectedSOPClassUID)
42  DCMTKPP_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(
43  affected_sop_instance_uid, registry::AffectedSOPInstanceUID)
44 };
45 
46 }
47 
48 #endif // _7e193624_081c_47dd_a011_986e96916ea9
Definition: Association.cpp:22
CStoreResponse(Value::Integer message_id_being_responded_to, Value::Integer status)
Create an store response with given Message ID, and status.
Definition: CStoreResponse.cpp:20
Base class for all DIMSE response messages.
Definition: Response.h:20
virtual ~CStoreResponse()
Destructor.
Definition: CStoreResponse.cpp:54
Base class for all DIMSE messages.
Definition: Message.h:72
C-STORE-RSP message.
Definition: CStoreResponse.h:20