dcmtkpp
CGetRequest.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 _6a22f126_7cc6_47ab_81c2_5f66b2714345
10 #define _6a22f126_7cc6_47ab_81c2_5f66b2714345
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 CGetRequest: public Request
22 {
23 public:
29  Value::Integer message_id, Value::String const & affected_sop_class_uid,
30  Value::Integer priority, DataSet const & dataset);
31 
37  CGetRequest(Message const & message);
38 
40  virtual ~CGetRequest();
41 
42  DCMTKPP_MESSAGE_MANDATORY_FIELD_STRING_MACRO(
43  affected_sop_class_uid, registry::AffectedSOPClassUID)
44  DCMTKPP_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(priority, registry::Priority)
45 };
46 
47 }
48 
49 #endif // _6a22f126_7cc6_47ab_81c2_5f66b2714345
Definition: Association.cpp:22
virtual ~CGetRequest()
Destructor.
Definition: CGetRequest.cpp:61
Base class for all DIMSE request messages.
Definition: Request.h:20
DICOM Data set.
Definition: DataSet.h:66
C-GET-RQ message.
Definition: CGetRequest.h:21
Base class for all DIMSE messages.
Definition: Message.h:72
CGetRequest(Value::Integer message_id, Value::String const &affected_sop_class_uid, Value::Integer priority, DataSet const &dataset)
Create an get request with given Message ID, affected SOP class UID, priority, and data set...
Definition: CGetRequest.cpp:23