Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
CGetResponse.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 _7b9819f1_d7a2_4898_a850_3ed6a61f08c6
10#define _7b9819f1_d7a2_4898_a850_3ed6a61f08c6
11
12#include "odil/DataSet.h"
13#include "odil/odil.h"
14#include "odil/registry.h"
16#include "odil/Value.h"
17
18namespace odil
19{
20
21namespace message
22{
23
26{
27public:
39
44 Value::Integer message_id_being_responded_to, Value::Integer status);
45
51 Value::Integer message_id_being_responded_to, Value::Integer status,
52 std::shared_ptr<DataSet> dataset);
53
59 CGetResponse(std::shared_ptr<Message> message);
60
63 affected_sop_class_uid, registry::AffectedSOPClassUID)
64
66 number_of_remaining_sub_operations, registry::NumberOfRemainingSuboperations)
68 number_of_completed_sub_operations, registry::NumberOfCompletedSuboperations)
70 number_of_failed_sub_operations, registry::NumberOfFailedSuboperations)
72 number_of_warning_sub_operations, registry::NumberOfWarningSuboperations)
73
74private:
75 void _parse(std::shared_ptr<Message const> message);
76};
77
78}
79
80}
81
82#endif // _7b9819f1_d7a2_4898_a850_3ed6a61f08c6
int64_t Integer
Integer type.
Definition Value.h:42
Status
C-GET status codes, PS 3.4, C.4.3.1.4.
Definition CGetResponse.h:30
@ UnableToProcess
Definition CGetResponse.h:35
@ RefusedOutOfResourcesUnableToCalculateNumberOfMatches
Definition CGetResponse.h:32
@ RefusedOutOfResourcesUnableToPerformSubOperations
Definition CGetResponse.h:33
@ SubOperationsCompleteOneOrMoreFailuresOrWarnings
Definition CGetResponse.h:37
@ IdentifierDoesNotMatchSOPClass
Definition CGetResponse.h:34
registry::NumberOfRemainingSuboperations ODIL_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(number_of_completed_sub_operations, registry::NumberOfCompletedSuboperations) ODIL_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(number_of_failed_sub_operations
CGetResponse(std::shared_ptr< Message > message)
Create a C-GET-RSP from a generic Message.
ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(affected_sop_class_uid, registry::AffectedSOPClassUID) ODIL_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(number_of_remaining_sub_operations
CGetResponse(Value::Integer message_id_being_responded_to, Value::Integer status, std::shared_ptr< DataSet > dataset)
Create an get response with given Message ID, status, and data set.
CGetResponse(Value::Integer message_id_being_responded_to, Value::Integer status)
Create an get response with given Message ID, and status.
Base class for all DIMSE messages.
Definition Message.h:77
Response(Value::Integer message_id_being_responded_to, Value::Integer status)
Create a response with given message id and status;.
#define ODIL_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(name, tag)
Definition Message.h:67
Definition Cancellation.h:21
Definition registry.h:97
Tag const MessageID(0x0000, 0x0110)
Definition Association.h:25
#define ODIL_API
Definition odil.h:28