dcmtkpp
CMoveRequest.h
1 /*************************************************************************
2  * dcmtkpp - 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 "dcmtkpp/DataSet.h"
13 #include "dcmtkpp/registry.h"
14 #include "dcmtkpp/Request.h"
15 #include "dcmtkpp/Value.h"
16 
17 namespace dcmtkpp
18 {
19 
21 class CMoveRequest: public Request
22 {
23 public:
29  Value::Integer message_id, Value::String const & affected_sop_class_uid,
30  Value::Integer priority, Value::String const & move_destination,
31  DataSet const & dataset);
32 
38  CMoveRequest(Message const & message);
39 
41  virtual ~CMoveRequest();
42 
43  DCMTKPP_MESSAGE_MANDATORY_FIELD_STRING_MACRO(
44  affected_sop_class_uid, registry::AffectedSOPClassUID)
45  DCMTKPP_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(priority, registry::Priority)
46  DCMTKPP_MESSAGE_MANDATORY_FIELD_STRING_MACRO(
47  move_destination, registry::MoveDestination)
48 };
49 
50 }
51 
52 #endif // _f6e243d2_6113_4fe3_8d04_3f034fc796bf
Definition: Association.cpp:22
Base class for all DIMSE request messages.
Definition: Request.h:20
virtual ~CMoveRequest()
Destructor.
Definition: CMoveRequest.cpp:64
DICOM Data set.
Definition: DataSet.h:66
C-MOVE-RQ message.
Definition: CMoveRequest.h:21
Base class for all DIMSE messages.
Definition: Message.h:72
CMoveRequest(Value::Integer message_id, Value::String const &affected_sop_class_uid, Value::Integer priority, Value::String const &move_destination, DataSet const &dataset)
Create an move request with given Message ID, affected SOP class UID, priority, move destination...
Definition: CMoveRequest.cpp:21