Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
NCreateRequest.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 _9a741b7f_0254_4eac_9bbd_04b719c1f86a
10#define _9a741b7f_0254_4eac_9bbd_04b719c1f86a
11
13#include "odil/odil.h"
14#include "odil/registry.h"
15#include "odil/Value.h"
16
17namespace odil
18{
19
20namespace message
21{
22
25{
26public:
32 Value::Integer message_id,
33 Value::String const & affected_sop_class_uid,
34 std::shared_ptr<DataSet> dataset);
35
41 NCreateRequest(std::shared_ptr<Message> message);
42
44 message_id, registry::MessageID)
45
47 affected_sop_class_uid, registry::AffectedSOPClassUID)
48
50 affected_sop_instance_uid, registry::AffectedSOPInstanceUID)
51
53 attribute_list, registry::AttributeIdentifierList)
54
55};
56
57}
58
59}
60
61#endif // _9a741b7f_0254_4eac_9bbd_04b719c1f86a
int64_t Integer
Integer type.
Definition Value.h:42
std::string String
String type.
Definition Value.h:48
N-Create-RQ message.
Definition NCreateRequest.h:25
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(message_id, registry::MessageID) ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO(affected_sop_class_uid
NCreateRequest(Value::Integer message_id, Value::String const &affected_sop_class_uid, std::shared_ptr< DataSet > dataset)
Create an NCreate request with given Message ID and affected SOP class UID.
NCreateRequest(std::shared_ptr< Message > message)
Create a N-Create-RQ from a generic Message.
Base class for all DIMSE request messages.
Definition Request.h:25
#define ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO(name, tag)
Definition Message.h:64
#define ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(name, tag)
Definition Message.h:70
Definition Association.h:25
#define ODIL_API
Definition odil.h:28