Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
CFindResponse.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 _5fd36547_9498_4cf3_87cc_737af51e93a9
10
#define _5fd36547_9498_4cf3_87cc_737af51e93a9
11
12
#include "
odil/DataSet.h
"
13
#include "
odil/odil.h
"
14
#include "
odil/registry.h
"
15
#include "
odil/message/Response.h
"
16
#include "
odil/Value.h
"
17
18
namespace
odil
19
{
20
21
namespace
message
22
{
23
25
class
ODIL_API
CFindResponse
:
public
Response
26
{
27
public
:
29
enum
Status
30
{
31
// Failure
32
RefusedOutOfResources
=0xA700,
33
IdentifierDoesNotMatchSOPClass
=0xA900,
34
UnableToProcess
=0xC000,
35
// Pending
36
PendingWarningOptionalKeysNotSupported
=0xFF01,
37
};
38
42
CFindResponse
(
43
Value::Integer
message_id_being_responded_to,
Value::Integer
status);
44
49
CFindResponse
(
50
Value::Integer
message_id_being_responded_to,
Value::Integer
status,
51
std::shared_ptr<DataSet> dataset);
52
58
CFindResponse
(std::shared_ptr<Message>
message
);
59
60
ODIL_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO
(message_id,
registry::MessageID
)
61
ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO
(
62
affected_sop_class_uid,
registry::AffectedSOPClassUID
)
63
64
private
:
65
void
_parse(std::shared_ptr<Message const>
message
);
66
};
67
68
}
69
70
}
71
72
#endif
// _5fd36547_9498_4cf3_87cc_737af51e93a9
DataSet.h
Response.h
Value.h
odil::Value::Integer
int64_t Integer
Integer type.
Definition
Value.h:42
odil::message::CFindResponse::CFindResponse
CFindResponse(std::shared_ptr< Message > message)
Create a C-FIND-RSP from a generic Message.
odil::message::CFindResponse::Status
Status
C-FIND status codes, PS 3.4, C.4.1.1.4.
Definition
CFindResponse.h:30
odil::message::CFindResponse::UnableToProcess
@ UnableToProcess
Definition
CFindResponse.h:34
odil::message::CFindResponse::IdentifierDoesNotMatchSOPClass
@ IdentifierDoesNotMatchSOPClass
Definition
CFindResponse.h:33
odil::message::CFindResponse::RefusedOutOfResources
@ RefusedOutOfResources
Definition
CFindResponse.h:32
odil::message::CFindResponse::PendingWarningOptionalKeysNotSupported
@ PendingWarningOptionalKeysNotSupported
Definition
CFindResponse.h:36
odil::message::CFindResponse::CFindResponse
CFindResponse(Value::Integer message_id_being_responded_to, Value::Integer status, std::shared_ptr< DataSet > dataset)
Create an find response with given Message ID, status, and data set.
odil::message::CFindResponse::CFindResponse
CFindResponse(Value::Integer message_id_being_responded_to, Value::Integer status)
Create an find response with given Message ID, and status.
odil::message::Response::Response
Response(Value::Integer message_id_being_responded_to, Value::Integer status)
Create a response with given message id and status;.
ODIL_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO
#define ODIL_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(name, tag)
Definition
Message.h:67
ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO
#define ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(name, tag)
Definition
Message.h:70
odil::message
Definition
Cancellation.h:21
odil::registry::AffectedSOPClassUID
Tag const AffectedSOPClassUID(0x0000, 0x0002)
odil::registry::MessageID
Tag const MessageID(0x0000, 0x0110)
odil
Definition
Association.h:25
odil.h
ODIL_API
#define ODIL_API
Definition
odil.h:28
registry.h
src
odil
message
CFindResponse.h
Generated by
1.17.0