dcmtkpp
Cancellation.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 _97fc1bfc_4cff_40f2_a1ed_4550c71a0bda
10 #define _97fc1bfc_4cff_40f2_a1ed_4550c71a0bda
11 
12 #include "dcmtkpp/Message.h"
13 #include "dcmtkpp/registry.h"
14 #include "dcmtkpp/Value.h"
15 
16 namespace dcmtkpp
17 {
18 
20 class Cancellation: public Message
21 {
22 public:
24  Cancellation(Uint16 message_id_being_responded_to);
25 
31  Cancellation(Message const & message);
32 
34  ~Cancellation();
35 
36  DCMTKPP_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(
37  message_id_being_responded_to, registry::MessageIDBeingRespondedTo);
38 };
39 
40 }
41 
42 #endif // _97fc1bfc_4cff_40f2_a1ed_4550c71a0bda
Definition: Association.cpp:22
Cancellation(Uint16 message_id_being_responded_to)
Create a response with given message id being responded to.
Definition: Cancellation.cpp:20
Base class for all DIMSE messages.
Definition: Message.h:72
Base class for cancellation messages.
Definition: Cancellation.h:20
~Cancellation()
Destructor.
Definition: Cancellation.cpp:41