Odil
A C++11 library for the DICOM standard
src
odil
pdu
AAssociate.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 _00e9792a_98a8_4ca7_9272_43dcd7e331ea
10
#define _00e9792a_98a8_4ca7_9272_43dcd7e331ea
11
12
#include <cstdint>
13
#include <istream>
14
#include <string>
15
16
#include "
odil/odil.h
"
17
#include "
odil/pdu/ApplicationContext.h
"
18
#include "
odil/pdu/Object.h
"
19
#include "
odil/pdu/UserInformation.h
"
20
21
namespace
odil
22
{
23
24
namespace
pdu
25
{
26
28
class
ODIL_API
AAssociate
:
public
Object
29
{
30
public
:
32
AAssociate
();
33
35
AAssociate
(std::istream & stream);
36
38
virtual
~
AAssociate
() =0;
39
41
uint16_t get_protocol_version()
const
;
42
44
void
set_protocol_version(uint16_t value);
45
47
std::string get_called_ae_title()
const
;
48
55
void
set_called_ae_title(std::string
const
& value);
56
58
std::string get_calling_ae_title()
const
;
59
66
void
set_calling_ae_title(std::string
const
& value);
67
69
ApplicationContext
get_application_context()
const
;
70
72
void
set_application_context(
ApplicationContext
const
& value);
73
75
UserInformation
get_user_information()
const
;
76
78
void
set_user_information(
UserInformation
const
& value);
79
80
private
:
82
static
std::string _encode_ae_title(std::string
const
& value);
83
85
static
std::string _decode_ae_title(std::string
const
& value);
86
};
87
88
}
89
90
}
91
92
#endif // _00e9792a_98a8_4ca7_9272_43dcd7e331ea
odil.h
odil::pdu::UserInformation
User Information Item Structure (PS 3.8, 9.3.2.3 and 9.3.3.3).
Definition:
UserInformation.h:29
ApplicationContext.h
odil::pdu::Object
Base class for all PDU-related high-level objects (PDU, items and sub-items).
Definition:
Object.h:27
UserInformation.h
odil::pdu::AAssociate
A-ASSOCIATE-RQ and A-ASSOCIATE-AC PDU, cf. PS 3.8, 9.3.2 and 9.3.3.
Definition:
AAssociate.h:28
odil
Definition:
Association.h:24
ODIL_API
#define ODIL_API
Definition:
odil.h:28
odil::pdu::ApplicationContext
Application Context item, (PS 3.8, 9.3.2.1).
Definition:
ApplicationContext.h:27
Object.h
Generated by
1.8.13