dcmtkpp
CMoveResponse.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 _b245f6f2_50c3_4c7c_80e1_f03d9c831301
10 #define _b245f6f2_50c3_4c7c_80e1_f03d9c831301
11 
12 #include "dcmtkpp/DataSet.h"
13 #include "dcmtkpp/registry.h"
14 #include "dcmtkpp/Response.h"
15 #include "dcmtkpp/Value.h"
16 
17 namespace dcmtkpp
18 {
19 
21 class CMoveResponse: public Response
22 {
23 public:
28  Value::Integer message_id_being_responded_to, Value::Integer status);
29 
35  Value::Integer message_id_being_responded_to, Value::Integer status,
36  DataSet const & dataset);
37 
43  CMoveResponse(Message const & message);
44 
46  virtual ~CMoveResponse();
47 
48  DCMTKPP_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(message_id, registry::MessageID)
49  DCMTKPP_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(
50  affected_sop_class_uid, registry::AffectedSOPClassUID)
51 
52  DCMTKPP_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(
53  number_of_remaining_sub_operations, registry::NumberOfRemainingSuboperations)
54  DCMTKPP_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(
55  number_of_completed_sub_operations, registry::NumberOfCompletedSuboperations)
56  DCMTKPP_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(
57  number_of_failed_sub_operations, registry::NumberOfFailedSuboperations)
58  DCMTKPP_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(
59  number_of_warning_sub_operations, registry::NumberOfWarningSuboperations)
60 };
61 
62 }
63 
64 #endif // _b245f6f2_50c3_4c7c_80e1_f03d9c831301
Definition: Association.cpp:22
Base class for all DIMSE response messages.
Definition: Response.h:20
DICOM Data set.
Definition: DataSet.h:66
C-MOVE-RSP message.
Definition: CMoveResponse.h:21
CMoveResponse(Value::Integer message_id_being_responded_to, Value::Integer status)
Create an move response with given Message ID, and status.
Definition: CMoveResponse.cpp:21
Base class for all DIMSE messages.
Definition: Message.h:72
virtual ~CMoveResponse()
Destructor.
Definition: CMoveResponse.cpp:74