Odil
A C++11 library for the DICOM standard
src
odil
message
CEchoRequest.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 _aec786b8_0074_4cb2_b9a1_4bf26bbd20fc
10
#define _aec786b8_0074_4cb2_b9a1_4bf26bbd20fc
11
12
#include "
odil/message/Request.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
CEchoRequest
:
public
Request
25
{
26
public
:
31
CEchoRequest
(
32
Value::Integer
message_id,
33
Value::String
const
& affected_sop_class_uid);
34
40
CEchoRequest
(std::shared_ptr<Message const> message);
41
42
ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO
(
43
affected_sop_class_uid,
registry::AffectedSOPClassUID
)
44
};
45
46
}
47
48
}
49
50
#endif // _aec786b8_0074_4cb2_b9a1_4bf26bbd20fc
odil::registry::AffectedSOPClassUID
Tag const AffectedSOPClassUID(0x0000, 0x0002)
odil
Definition:
Association.h:25
ODIL_API
#define ODIL_API
Definition:
odil.h:28
odil::message::CEchoRequest
C-ECHO-RQ message.
Definition:
CEchoRequest.h:25
odil::Value::String
std::string String
String type.
Definition:
Value.h:48
odil.h
odil::message::CEchoRequest::CEchoRequest
CEchoRequest(Value::Integer message_id, Value::String const &affected_sop_class_uid)
Create an echo request with given Message ID and affected SOP class UID.
Request.h
odil::message::CEchoRequest::CEchoRequest
CEchoRequest(std::shared_ptr< Message const > message)
Create a C-ECHO-RQ from a generic Message.
registry.h
odil::Value::Integer
int64_t Integer
Integer type.
Definition:
Value.h:42
odil::message::Request
Base class for all DIMSE request messages.
Definition:
Request.h:25
Value.h
ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO
#define ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO(name, tag)
Definition:
Message.h:64
Generated by
1.8.20