Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
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
20
namespace
odil
21
{
22
23
namespace
pdu
24
{
25
27
class
ODIL_API
SOPClassExtendedNegotiation
:
public
Object
28
{
29
public
:
31
static
uint8_t
const
type
=0x56;
32
34
SOPClassExtendedNegotiation
(
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
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::SOPClassExtendedNegotiation::set_service_class_application_information
void set_service_class_application_information(std::vector< uint8_t > const &value)
Set the Service Class Application Information.
odil::pdu::SOPClassExtendedNegotiation::type
static uint8_t const type
Item type.
Definition
SOPClassExtendedNegotiation.h:31
odil::pdu::SOPClassExtendedNegotiation::operator==
bool operator==(SOPClassExtendedNegotiation const &other) const
Comparison.
odil::pdu::SOPClassExtendedNegotiation::get_service_class_application_information
std::vector< uint8_t > get_service_class_application_information() const
Return the Service Class Application Information.
odil::pdu::SOPClassExtendedNegotiation::SOPClassExtendedNegotiation
SOPClassExtendedNegotiation(std::istream &stream)
Read a SOP Class Common Extended Negotiation from a stream.
odil::pdu::SOPClassExtendedNegotiation::get_sop_class_uid
std::string const & get_sop_class_uid() const
Return the SOP Class UID.
odil::pdu::SOPClassExtendedNegotiation::set_sop_class_uid
void set_sop_class_uid(std::string const &value)
Set the SOP Class UID.
odil::pdu::SOPClassExtendedNegotiation::SOPClassExtendedNegotiation
SOPClassExtendedNegotiation(std::string const &sop_class_uid, std::vector< uint8_t > const &service_class_application_information)
Constructor.
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
SOPClassExtendedNegotiation.h
Generated by
1.17.0