Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
AAbort.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 _536f93f0_914e_40ff_8917_36644acbc4b1
10
#define _536f93f0_914e_40ff_8917_36644acbc4b1
11
12
#include <istream>
13
14
#include "
odil/odil.h
"
15
#include "
odil/pdu/Object.h
"
16
17
namespace
odil
18
{
19
20
namespace
pdu
21
{
22
24
class
ODIL_API
AAbort
:
public
Object
25
{
26
public
:
28
AAbort
(
unsigned
char
source,
unsigned
char
reason);
29
31
AAbort
(std::istream & stream);
32
34
unsigned
char
get_source
()
const
;
35
37
void
set_source
(
unsigned
char
source);
38
40
unsigned
char
get_reason
()
const
;
41
43
void
set_reason
(
unsigned
char
reason);
44
};
45
46
}
47
48
}
49
50
#endif
// _536f93f0_914e_40ff_8917_36644acbc4b1
Object.h
odil::pdu::AAbort::get_source
unsigned char get_source() const
Return the source.
odil::pdu::AAbort::get_reason
unsigned char get_reason() const
Return the reason.
odil::pdu::AAbort::AAbort
AAbort(unsigned char source, unsigned char reason)
Constructor.
odil::pdu::AAbort::set_source
void set_source(unsigned char source)
Set the source, must be 0, 1 or 2.
odil::pdu::AAbort::set_reason
void set_reason(unsigned char reason)
Set the reason, must be between 0 and 6.
odil::pdu::AAbort::AAbort
AAbort(std::istream &stream)
Constructor for binary data.
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
AAbort.h
Generated by
1.17.0