Odil
A C++11 library for the DICOM standard
CMoveRequest.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 _f6e243d2_6113_4fe3_8d04_3f034fc796bf
10 #define _f6e243d2_6113_4fe3_8d04_3f034fc796bf
11 
12 #include "odil/DataSet.h"
13 #include "odil/odil.h"
14 #include "odil/registry.h"
15 #include "odil/message/Request.h"
16 #include "odil/Value.h"
17 
18 namespace odil
19 {
20 
21 namespace message
22 {
23 
26 {
27 public:
33  Value::Integer message_id, Value::String const & affected_sop_class_uid,
34  Value::Integer priority, Value::String const & move_destination,
35  std::shared_ptr<DataSet> dataset);
36 
42  CMoveRequest(std::shared_ptr<Message> message);
43 
45  affected_sop_class_uid, registry::AffectedSOPClassUID)
48  move_destination, registry::MoveDestination)
49 
50 private:
51  void _create(
52  Value::String const & affected_sop_class_uid,
53  Value::Integer priority, Value::String const & move_destination,
54  std::shared_ptr<DataSet const> dataset);
55  void _parse(std::shared_ptr<Message const> message);
56 };
57 
58 }
59 
60 }
61 
62 #endif // _f6e243d2_6113_4fe3_8d04_3f034fc796bf
odil::registry::AffectedSOPClassUID
Tag const AffectedSOPClassUID(0x0000, 0x0002)
odil
Definition: Association.h:25
ODIL_API
#define ODIL_API
Definition: odil.h:28
odil::message::CMoveRequest::ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO
ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO(affected_sop_class_uid, registry::AffectedSOPClassUID) ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO(move_destination
odil::Value::String
std::string String
String type.
Definition: Value.h:48
odil.h
Request.h
odil::registry::Priority
Tag const Priority(0x0000, 0x0700)
odil::message::CMoveRequest::CMoveRequest
CMoveRequest(Value::Integer message_id, Value::String const &affected_sop_class_uid, Value::Integer priority, Value::String const &move_destination, std::shared_ptr< DataSet > dataset)
Create an move request with given Message ID, affected SOP class UID, priority, move destination,...
odil::registry::MoveDestination
Tag const MoveDestination(0x0000, 0x0600)
registry.h
odil::Value::Integer
int64_t Integer
Integer type.
Definition: Value.h:42
odil::message::CMoveRequest::CMoveRequest
CMoveRequest(std::shared_ptr< Message > message)
Create a C-MOVE-RQ from a generic Message.
odil::message::CMoveRequest
C-MOVE-RQ message.
Definition: CMoveRequest.h:26
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO
#define ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(name, tag)
Definition: Message.h:61
odil::message::Request
Base class for all DIMSE request messages.
Definition: Request.h:25
DataSet.h
Value.h
ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO
#define ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO(name, tag)
Definition: Message.h:64