Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
Request.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 _8d06a300_6aee_4d1f_bf10_ecdf4916ae9f
10
#define _8d06a300_6aee_4d1f_bf10_ecdf4916ae9f
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
Request
:
public
Message
25
{
26
public
:
28
Request
(
Value::Integer
message_id);
29
36
Request
(std::shared_ptr<Message const>
message
);
37
38
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO
(
39
message_id,
registry::MessageID
)
40
};
41
42
}
43
44
}
45
46
#endif
// _8d06a300_6aee_4d1f_bf10_ecdf4916ae9f
Value.h
odil::Value::Integer
int64_t Integer
Integer type.
Definition
Value.h:42
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.
odil::message::Request::Request
Request(Value::Integer message_id)
Create a request with given Message ID.
odil::message::Request::Request
Request(std::shared_ptr< Message const > message)
Create a request from the Message ID stored in the message command set.
Message.h
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO
#define ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(name, tag)
Definition
Message.h:61
odil::message
Definition
Cancellation.h:21
odil::registry::MessageID
Tag const MessageID(0x0000, 0x0110)
odil
Definition
Association.h:25
odil.h
ODIL_API
#define ODIL_API
Definition
odil.h:28
registry.h
src
odil
message
Request.h
Generated by
1.17.0