dcmtkpp
Request.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 _8d06a300_6aee_4d1f_bf10_ecdf4916ae9f
10 #define _8d06a300_6aee_4d1f_bf10_ecdf4916ae9f
11 
12 #include "dcmtkpp/Message.h"
13 #include "dcmtkpp/registry.h"
14 #include "dcmtkpp/Value.h"
15 
16 namespace dcmtkpp
17 {
18 
20 class Request: public Message
21 {
22 public:
24  Request(Value::Integer message_id);
25 
32  Request(Message const & message);
33 
35  virtual ~Request();
36 
37  DCMTKPP_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(
38  message_id, registry::MessageID)
39 };
40 
41 }
42 
43 #endif // _8d06a300_6aee_4d1f_bf10_ecdf4916ae9f
Definition: Association.cpp:22
Base class for all DIMSE request messages.
Definition: Request.h:20
Base class for all DIMSE messages.
Definition: Message.h:72
virtual ~Request()
Destructor.
Definition: Request.cpp:33
Request(Value::Integer message_id)
Create a request with given Message ID.
Definition: Request.cpp:19