Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
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
24
class
ODIL_API
Cancellation
:
public
Message
25
{
26
public
:
28
Cancellation
(uint16_t message_id_being_responded_to);
29
35
Cancellation
(std::shared_ptr<Message const>
message
);
36
37
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO
(
38
message_id_being_responded_to,
registry::MessageIDBeingRespondedTo
);
39
};
40
41
}
42
43
}
44
45
#endif
// _97fc1bfc_4cff_40f2_a1ed_4550c71a0bda
Value.h
odil::message::Cancellation::Cancellation
Cancellation(uint16_t message_id_being_responded_to)
Create a response with given message id being responded to.
odil::message::Cancellation::ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(message_id_being_responded_to, registry::MessageIDBeingRespondedTo)
odil::message::Cancellation::Cancellation
Cancellation(std::shared_ptr< Message const > message)
Create a response from the Message ID Being Responded To.
odil::message::Message::Message
Message(std::shared_ptr< DataSet > command_set=std::make_shared< DataSet >(), std::shared_ptr< DataSet > data_set={})
Create a message with an empty command set and no data set.
Message.h
odil::message
Definition
Cancellation.h:21
odil::registry::MessageIDBeingRespondedTo
Tag const MessageIDBeingRespondedTo(0x0000, 0x0120)
odil
Definition
Association.h:25
odil.h
ODIL_API
#define ODIL_API
Definition
odil.h:28
registry.h
src
odil
message
Cancellation.h
Generated by
1.17.0