Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
PresentationContextRQ.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 _e6e42ffd_7318_48f5_b35a_d44093564044
10
#define _e6e42ffd_7318_48f5_b35a_d44093564044
11
12
#include <cstdint>
13
#include <istream>
14
#include <string>
15
#include <vector>
16
17
#include "
odil/odil.h
"
18
#include "
odil/pdu/PresentationContext.h
"
19
20
namespace
odil
21
{
22
23
namespace
pdu
24
{
25
27
class
ODIL_API
PresentationContextRQ
:
public
PresentationContext
28
{
29
public
:
31
PresentationContextRQ
(
32
uint8_t
id
, std::string
const
& abstract_syntax,
33
std::vector<std::string>
const
& transfer_syntaxes);
34
36
PresentationContextRQ
(std::istream & stream);
37
39
~PresentationContextRQ
();
40
42
std::string
get_abstract_syntax
()
const
;
43
45
void
set_abstract_syntax
(std::string
const
& abstract_syntax);
46
48
std::vector<std::string>
get_transfer_syntaxes
()
const
;
49
51
void
set_transfer_syntaxes
(
52
std::vector<std::string>
const
& transfer_syntaxes);
53
};
54
55
}
56
57
}
58
59
#endif
// _e6e42ffd_7318_48f5_b35a_d44093564044
PresentationContext.h
odil::pdu::PresentationContextRQ::get_transfer_syntaxes
std::vector< std::string > get_transfer_syntaxes() const
Return the Transfer Syntaxes.
odil::pdu::PresentationContextRQ::PresentationContextRQ
PresentationContextRQ(std::istream &stream)
Read a Presentation Context from a stream.
odil::pdu::PresentationContextRQ::~PresentationContextRQ
~PresentationContextRQ()
Destructor.
odil::pdu::PresentationContextRQ::get_abstract_syntax
std::string get_abstract_syntax() const
Return the Abstract Syntax.
odil::pdu::PresentationContextRQ::set_abstract_syntax
void set_abstract_syntax(std::string const &abstract_syntax)
Set the Abstract Syntax.
odil::pdu::PresentationContextRQ::PresentationContextRQ
PresentationContextRQ(uint8_t id, std::string const &abstract_syntax, std::vector< std::string > const &transfer_syntaxes)
Constructor.
odil::pdu::PresentationContextRQ::set_transfer_syntaxes
void set_transfer_syntaxes(std::vector< std::string > const &transfer_syntaxes)
Set the Transfer Syntax sub-items.
odil::pdu::PresentationContext::PresentationContext
PresentationContext()
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
PresentationContextRQ.h
Generated by
1.17.0