Odil
A C++11 library for the DICOM standard
PresentationContextAC.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 _69f1f7a9_d252_4ccd_a2d5_5df0ac4fb054
10 #define _69f1f7a9_d252_4ccd_a2d5_5df0ac4fb054
11 
12 #include <cstdint>
13 #include <istream>
14 #include <string>
15 
16 #include "odil/odil.h"
18 
19 namespace odil
20 {
21 
22 namespace pdu
23 {
24 
27 {
28 public:
31  uint8_t id, std::string const & transfer_syntax, uint8_t result_reason);
32 
34  PresentationContextAC(std::istream & stream);
35 
38 
40  uint8_t get_result_reason() const;
41 
43  void set_result_reason(uint8_t result_reason);
44 
46  std::string get_transfer_syntax() const;
47 
49  void set_transfer_syntax(std::string const & transfer_syntax);
50 };
51 
52 }
53 
54 }
55 
56 #endif // _69f1f7a9_d252_4ccd_a2d5_5df0ac4fb054
Definition: Association.h:24
#define ODIL_API
Definition: odil.h:28
Presentation Context item, either for a A-ASSOCIATE-RQ PDU (PS 3.8, 9.3.2.2) or for a A-ASSOCIATE-AC ...
Definition: PresentationContext.h:30
Presentation Context item for a A-ASSOCIATE-AC PDU (PS 3.8, 9.3.3.2).
Definition: PresentationContextAC.h:26