Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
SOPClassExtendedNegotiation.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 _6e3d351d_e5dc_4ab6_9c2d_8582e4fe2aa5
10#define _6e3d351d_e5dc_4ab6_9c2d_8582e4fe2aa5
11
12#include <cstdint>
13#include <istream>
14#include <string>
15#include <vector>
16
17#include "odil/odil.h"
18#include "odil/pdu/Object.h"
19
20namespace odil
21{
22
23namespace pdu
24{
25
28{
29public:
31 static uint8_t const type=0x56;
32
35 std::string const & sop_class_uid,
36 std::vector<uint8_t> const & service_class_application_information);
37
39 SOPClassExtendedNegotiation(std::istream & stream);
40
42 bool operator==(SOPClassExtendedNegotiation const & other) const;
43
45 std::string const & get_sop_class_uid() const;
46
48 void set_sop_class_uid(std::string const & value);
49
51 std::vector<uint8_t> get_service_class_application_information() const;
52
55 std::vector<uint8_t> const & value);
56
57
58};
59
60}
61
62}
63
64#endif // _6e3d351d_e5dc_4ab6_9c2d_8582e4fe2aa5
Base class for all PDU-related high-level objects (PDU, items and sub-items).
Definition Object.h:28
SOP Class Extended Negotiation sub-item (PS 3.7, D.3.3.5).
Definition SOPClassExtendedNegotiation.h:28
void set_service_class_application_information(std::vector< uint8_t > const &value)
Set the Service Class Application Information.
bool operator==(SOPClassExtendedNegotiation const &other) const
Comparison.
std::vector< uint8_t > get_service_class_application_information() const
Return the Service Class Application Information.
SOPClassExtendedNegotiation(std::istream &stream)
Read a SOP Class Common Extended Negotiation from a stream.
std::string const & get_sop_class_uid() const
Return the SOP Class UID.
void set_sop_class_uid(std::string const &value)
Set the SOP Class UID.
SOPClassExtendedNegotiation(std::string const &sop_class_uid, std::vector< uint8_t > const &service_class_application_information)
Constructor.
Definition Association.h:25
#define ODIL_API
Definition odil.h:28