dcmtkpp
CEchoResponse.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 _266252d9_e801_479e_a805_004b101c5250
10 #define _266252d9_e801_479e_a805_004b101c5250
11 
12 #include "dcmtkpp/registry.h"
13 #include "dcmtkpp/Response.h"
14 #include "dcmtkpp/Value.h"
15 
16 namespace dcmtkpp
17 {
18 
20 class CEchoResponse: public Response
21 {
22 public:
28  Value::Integer message_id_being_responded_to, Value::Integer status,
29  Value::String const & affected_sop_class_uid);
30 
36  CEchoResponse(Message const & message);
37 
39  virtual ~CEchoResponse();
40 
41  DCMTKPP_MESSAGE_MANDATORY_FIELD_STRING_MACRO(
42  affected_sop_class_uid, registry::AffectedSOPClassUID)
43 };
44 
45 }
46 
47 #endif // _266252d9_e801_479e_a805_004b101c5250
Definition: Association.cpp:22
C-ECHO-RSP message.
Definition: CEchoResponse.h:20
Base class for all DIMSE response messages.
Definition: Response.h:20
virtual ~CEchoResponse()
Destructor.
Definition: CEchoResponse.cpp:44
Base class for all DIMSE messages.
Definition: Message.h:72
CEchoResponse(Value::Integer message_id_being_responded_to, Value::Integer status, Value::String const &affected_sop_class_uid)
Create an echo response with given Message ID and affected SOP class UID.
Definition: CEchoResponse.cpp:20