Odil
A C++11 library for the DICOM standard
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 
39  message_id, registry::MessageID)
40 };
41 
42 }
43 
44 }
45 
46 #endif // _8d06a300_6aee_4d1f_bf10_ecdf4916ae9f
odil
Definition: Association.h:25
ODIL_API
#define ODIL_API
Definition: odil.h:28
Message.h
odil.h
odil::message::Request::Request
Request(std::shared_ptr< Message const > message)
Create a request from the Message ID stored in the message command set.
registry.h
odil::registry::MessageID
Tag const MessageID(0x0000, 0x0110)
odil::Value::Integer
int64_t Integer
Integer type.
Definition: Value.h:42
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO
#define ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(name, tag)
Definition: Message.h:61
odil::message::Request::Request
Request(Value::Integer message_id)
Create a request with given Message ID.
odil::message::Request
Base class for all DIMSE request messages.
Definition: Request.h:25
Value.h
odil::message::Message
Base class for all DIMSE messages.
Definition: Message.h:77