Odil
A C++11 library for the DICOM standard
src
odil
message
NCreateResponse.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 _4f465ff9_8cd7_47cb_afc5_51461124bb01
10
#define _4f465ff9_8cd7_47cb_afc5_51461124bb01
11
12
#include "
odil/odil.h
"
13
#include "
odil/registry.h
"
14
#include "
odil/message/Response.h
"
15
#include "
odil/Value.h
"
16
17
namespace
odil
18
{
19
20
namespace
message
21
{
22
24
class
ODIL_API
NCreateResponse:
public
Response
25
{
26
public
:
31
NCreateResponse(
32
Value::Integer
const
& message_id_being_responded_to,
33
Value::Integer
const
& status,
34
Value::String
const
& affected_sop_class_uid);
35
41
NCreateResponse
(std::shared_ptr<Message const> message);
42
43
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO
(
44
message_id_being_responded_to,
registry::MessageIDBeingRespondedTo
)
45
46
ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO
(
47
affected_sop_class_uid,
registry::AffectedSOPClassUID
)
48
};
49
50
}
51
52
}
53
54
#endif // _4f465ff9_8cd7_47cb_afc5_51461124bb01
ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO
#define ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(name, tag)
Definition:
Message.h:79
Response.h
odil
Definition:
Association.h:23
ODIL_API
#define ODIL_API
Definition:
odil.h:27
odil::Value::String
std::string String
String type.
Definition:
Value.h:52
odil.h
odil::message::NCreateResponse
N-Create-RSP message.
Definition:
NCreateResponse.h:33
registry.h
odil::Value::Integer
int64_t Integer
Integer type.
Definition:
Value.h:46
odil::registry::AffectedSOPClassUID
const Tag AffectedSOPClassUID(0x0000, 0x0002)
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO
#define ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(name, tag)
Definition:
Message.h:70
Value.h
odil::registry::MessageIDBeingRespondedTo
const Tag MessageIDBeingRespondedTo(0x0000, 0x0120)
Generated by
1.8.16