Odil
A C++11 library for the DICOM standard
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 
20 namespace odil
21 {
22 
23 namespace pdu
24 {
25 
28 {
29 public:
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 
54  void set_service_class_application_information(
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:27
Definition: Association.h:24
SOP Class Extended Negotiation sub-item (PS 3.7, D.3.3.5).
Definition: SOPClassExtendedNegotiation.h:27
#define ODIL_API
Definition: odil.h:28