Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
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
Object.h
odil::pdu::Object
Base class for all PDU-related high-level objects (PDU, items and sub-items).
Definition
Object.h:28
odil::pdu::SOPClassCommonExtendedNegotiation::set_sop_class_uid
void set_sop_class_uid(std::string const &value)
Set the SOP Class UID.
odil::pdu::SOPClassCommonExtendedNegotiation::set_service_class_uid
void set_service_class_uid(std::string const &value)
Set the Service Class UID (default to "").
odil::pdu::SOPClassCommonExtendedNegotiation::SOPClassCommonExtendedNegotiation
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.
odil::pdu::SOPClassCommonExtendedNegotiation::get_related_general_sop_class_uids
std::vector< std::string > get_related_general_sop_class_uids() const
Return the Related General SOP Class UIDs.
odil::pdu::SOPClassCommonExtendedNegotiation::operator==
bool operator==(SOPClassCommonExtendedNegotiation const &other) const
Comparison.
odil::pdu::SOPClassCommonExtendedNegotiation::set_related_general_sop_class_uids
void set_related_general_sop_class_uids(std::vector< std::string > const &value)
Set the Related General SOP Class UIDs (default to empty).
odil::pdu::SOPClassCommonExtendedNegotiation::SOPClassCommonExtendedNegotiation
SOPClassCommonExtendedNegotiation(std::istream &stream)
Read a SOP Class Common Extended Negotiation from a stream.
odil::pdu::SOPClassCommonExtendedNegotiation::get_sop_class_uid
std::string const & get_sop_class_uid() const
Return the SOP Class UID.
odil::pdu::SOPClassCommonExtendedNegotiation::type
static uint8_t const type
Item type.
Definition
SOPClassCommonExtendedNegotiation.h:30
odil::pdu::SOPClassCommonExtendedNegotiation::get_service_class_uid
std::string const & get_service_class_uid() const
Return the Service Class UID.
odil::pdu
Definition
AAbort.h:21
odil
Definition
Association.h:25
odil.h
ODIL_API
#define ODIL_API
Definition
odil.h:28
src
odil
pdu
SOPClassCommonExtendedNegotiation.h
Generated by
1.17.0