Odil
A C++11 library for the DICOM standard
CFindRequest.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 _74cfa9e7_da35_4130_a941_e17cb6932f60
10#define _74cfa9e7_da35_4130_a941_e17cb6932f60
11
12#include "odil/odil.h"
13#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, Value::String const & affected_sop_class_uid,
33 Value::Integer priority, std::shared_ptr<DataSet> dataset);
34
40 CFindRequest(std::shared_ptr<Message> message);
41
43 affected_sop_class_uid, registry::AffectedSOPClassUID)
45
46private:
47 void _create(
48 Value::String const & affected_sop_class_uid, Value::Integer priority,
49 std::shared_ptr<DataSet const> dataset);
50 void _parse(std::shared_ptr<Message const> message);
51};
52
53}
54
55}
56
57#endif // _74cfa9e7_da35_4130_a941_e17cb6932f60
int64_t Integer
Integer type.
Definition: Value.h:42
std::string String
String type.
Definition: Value.h:48
C-FIND-RQ message.
Definition: CFindRequest.h:25
CFindRequest(std::shared_ptr< Message > message)
Create a C-FIND-RQ from a generic Message.
CFindRequest(Value::Integer message_id, Value::String const &affected_sop_class_uid, Value::Integer priority, std::shared_ptr< DataSet > dataset)
Create an find request with given Message ID, affected SOP class UID, priority, and data set.
ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO(affected_sop_class_uid, registry::AffectedSOPClassUID) private void _parse(std::shared_ptr< Message const > 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_MANDATORY_FIELD_INTEGER_MACRO(name, tag)
Definition: Message.h:61
Tag const AffectedSOPClassUID(0x0000, 0x0002)
Tag const Priority(0x0000, 0x0700)
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28