Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
AAssociateRJ.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 _3980566c_9185_40a2_8e7d_6286c2cd1959
10
#define _3980566c_9185_40a2_8e7d_6286c2cd1959
11
12
#include "
odil/odil.h
"
13
#include "
odil/pdu/Object.h
"
14
15
namespace
odil
16
{
17
18
namespace
pdu
19
{
20
22
class
ODIL_API
AAssociateRJ
:
public
Object
23
{
24
public
:
26
AAssociateRJ
(
27
unsigned
char
result,
unsigned
char
source,
unsigned
char
reason);
28
30
AAssociateRJ
(std::istream & stream);
31
33
unsigned
char
get_result
()
const
;
34
36
void
set_result
(
unsigned
char
result);
37
39
unsigned
char
get_source
()
const
;
40
42
void
set_source
(
unsigned
char
source);
43
45
unsigned
char
get_reason
()
const
;
46
48
void
set_reason
(
unsigned
char
reason);
49
};
50
51
}
52
53
}
54
55
#endif
// _3980566c_9185_40a2_8e7d_6286c2cd1959
Object.h
odil::pdu::AAssociateRJ::AAssociateRJ
AAssociateRJ(unsigned char result, unsigned char source, unsigned char reason)
Constructor.
odil::pdu::AAssociateRJ::set_source
void set_source(unsigned char source)
Set the source, must be 1, 2 or 3.
odil::pdu::AAssociateRJ::get_source
unsigned char get_source() const
Return the source.
odil::pdu::AAssociateRJ::get_reason
unsigned char get_reason() const
Return the reason.
odil::pdu::AAssociateRJ::set_result
void set_result(unsigned char result)
Set the result, must be 1 or 2.
odil::pdu::AAssociateRJ::set_reason
void set_reason(unsigned char reason)
Set the reason.
odil::pdu::AAssociateRJ::AAssociateRJ
AAssociateRJ(std::istream &stream)
Constructor from stream.
odil::pdu::AAssociateRJ::get_result
unsigned char get_result() const
Return the result.
odil::pdu::Object
Base class for all PDU-related high-level objects (PDU, items and sub-items).
Definition
Object.h:28
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
AAssociateRJ.h
Generated by
1.17.0