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
19namespace odil
20{
21
22namespace pdu
23{
24
27{
28public:
30 static uint8_t const type=0x57;
31
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
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
62 std::vector<std::string> const & value);
63
64};
65
66}
67
68}
69
70#endif // _4182d886_9654_4ec2_8cd6_7f334f290e56
Base class for all PDU-related high-level objects (PDU, items and sub-items).
Definition: Object.h:28
SOP Class Common Extended Negotiation sub-item (PS 3.7, D.3.3.6).
Definition: SOPClassCommonExtendedNegotiation.h:27
void set_sop_class_uid(std::string const &value)
Set the SOP Class UID.
void set_service_class_uid(std::string const &value)
Set the Service Class UID (default to "").
SOPClassCommonExtendedNegotiation(std::string const &sop_class_uid, std::string const &service_class_uid="", std::vector< std::string > const &related_general_sop_class_uids=std::vector< std::string >())
Constructor.
std::vector< std::string > get_related_general_sop_class_uids() const
Return the Related General SOP Class UIDs.
bool operator==(SOPClassCommonExtendedNegotiation const &other) const
Comparison.
void set_related_general_sop_class_uids(std::vector< std::string > const &value)
Set the Related General SOP Class UIDs (default to empty).
SOPClassCommonExtendedNegotiation(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.
std::string const & get_service_class_uid() const
Return the Service Class UID.
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28