Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
NSetResponse.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 _5d350855_531e_405a_a221_af3b0e720fd1
10
#define _5d350855_531e_405a_a221_af3b0e720fd1
11
12
#include "
odil/registry.h
"
13
#include "
odil/message/Response.h
"
14
#include "
odil/odil.h
"
15
#include "
odil/Value.h
"
16
17
namespace
odil
18
{
19
20
namespace
message
21
{
22
24
class
ODIL_API
NSetResponse
:
public
Response
25
{
26
public
:
31
NSetResponse
(
32
Value::Integer
const
& message_id_being_responded_to,
33
Value::Integer
const
& status,
34
Value::String
const
& requested_sop_class_uid,
35
Value::String
const
& requested_sop_instance_uid);
36
42
NSetResponse
(std::shared_ptr<Message const>
message
);
43
44
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO
(status,
registry::Status
)
45
46
ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO
(
47
affected_sop_class_uid,
registry::AffectedSOPClassUID
)
48
49
};
50
51
}
52
53
}
54
55
#endif
// _5d350855_531e_405a_a221_af3b0e720fd1
Response.h
Value.h
odil::Value::Integer
int64_t Integer
Integer type.
Definition
Value.h:42
odil::Value::String
std::string String
String type.
Definition
Value.h:48
odil::message::NSetResponse::NSetResponse
NSetResponse(std::shared_ptr< Message const > message)
Create a N-Set-RSP from a generic Message.
odil::message::NSetResponse::NSetResponse
NSetResponse(Value::Integer const &message_id_being_responded_to, Value::Integer const &status, Value::String const &requested_sop_class_uid, Value::String const &requested_sop_instance_uid)
Create an NSet response with given Message ID and affected SOP class UID.
odil::message::Response::Response
Response(Value::Integer message_id_being_responded_to, Value::Integer status)
Create a response with given message id and status;.
ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO
#define ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(name, tag)
Definition
Message.h:70
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::AffectedSOPClassUID
Tag const AffectedSOPClassUID(0x0000, 0x0002)
odil::registry::Status
Tag const Status(0x0000, 0x0900)
odil
Definition
Association.h:25
odil.h
ODIL_API
#define ODIL_API
Definition
odil.h:28
registry.h
src
odil
message
NSetResponse.h
Generated by
1.17.0