Odil
A C++11 library for the DICOM standard
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
odil
Definition: Association.h:23
ODIL_API
#define ODIL_API
Definition: odil.h:27
odil.h
Object.h