Odil
A C++11 library for the DICOM standard
SOPClassCommonExtendedNegotiation.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 _4182d886_9654_4ec2_8cd6_7f334f290e56
10 #define _4182d886_9654_4ec2_8cd6_7f334f290e56
11 
12 #include <istream>
13 #include <string>
14 #include <vector>
15 
16 #include "odil/odil.h"
17 #include "odil/pdu/Object.h"
18 
19 namespace odil
20 {
21 
22 namespace pdu
23 {
24 
26 class ODIL_API SOPClassCommonExtendedNegotiation: public Object
27 {
28 public:
30  static uint8_t const type=0x57;
31 
33  SOPClassCommonExtendedNegotiation(
34  std::string const & sop_class_uid,
35  std::string const & service_class_uid="",
36  std::vector<std::string> const &
37  related_general_sop_class_uids=std::vector<std::string>());
38 
40  SOPClassCommonExtendedNegotiation(std::istream & stream);
41 
43  bool operator==(SOPClassCommonExtendedNegotiation const & other) const;
44 
46  std::string const & get_sop_class_uid() const;
47 
49  void set_sop_class_uid(std::string const & value);
50 
52  std::string const & get_service_class_uid() const;
53 
55  void set_service_class_uid(std::string const & value);
56 
58  std::vector<std::string> get_related_general_sop_class_uids() const;
59 
61  void set_related_general_sop_class_uids(
62  std::vector<std::string> const & value);
63 
64 };
65 
66 }
67 
68 }
69 
70 #endif // _4182d886_9654_4ec2_8cd6_7f334f290e56
odil::operator==
bool operator==(Value::DataSets const &left, Value::DataSets const &right)
Equality test.
odil
Definition: Association.h:23
ODIL_API
#define ODIL_API
Definition: odil.h:27
odil.h
odil::pdu::SOPClassCommonExtendedNegotiation
SOP Class Common Extended Negotiation sub-item (PS 3.7, D.3.3.6).
Definition: SOPClassCommonExtendedNegotiation.h:35
Object.h