Odil
A C++11 library for the DICOM standard
Cancellation.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 _97fc1bfc_4cff_40f2_a1ed_4550c71a0bda
10 #define _97fc1bfc_4cff_40f2_a1ed_4550c71a0bda
11 
12 #include "odil/message/Message.h"
13 #include "odil/odil.h"
14 #include "odil/registry.h"
15 #include "odil/Value.h"
16 
17 namespace odil
18 {
19 
20 namespace message
21 {
22 
25 {
26 public:
28  Cancellation(uint16_t message_id_being_responded_to);
29 
35  Cancellation(std::shared_ptr<Message const> message);
36 
38  message_id_being_responded_to, registry::MessageIDBeingRespondedTo);
39 };
40 
41 }
42 
43 }
44 
45 #endif // _97fc1bfc_4cff_40f2_a1ed_4550c71a0bda
Base class for cancellation messages.
Definition: Cancellation.h:25
Cancellation(uint16_t message_id_being_responded_to)
Create a response with given message id being responded to.
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(message_id_being_responded_to, registry::MessageIDBeingRespondedTo)
Cancellation(std::shared_ptr< Message const > message)
Create a response from the Message ID Being Responded To.
Base class for all DIMSE messages.
Definition: Message.h:77
Tag const MessageIDBeingRespondedTo(0x0000, 0x0120)
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28