Odil
A C++11 library for the DICOM standard
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
odil::pdu::AAbort
A-ABORT PDU, cf. PS 3.8, 9.3.8.
Definition: AAbort.h:36
odil
Definition: Association.h:24
ODIL_API
#define ODIL_API
Definition: odil.h:28
odil.h
Object.h