Odil
A C++11 library for the DICOM standard
PresentationContextRQ.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 _e6e42ffd_7318_48f5_b35a_d44093564044
10 #define _e6e42ffd_7318_48f5_b35a_d44093564044
11 
12 #include <cstdint>
13 #include <istream>
14 #include <string>
15 #include <vector>
16 
17 #include "odil/odil.h"
19 
20 namespace odil
21 {
22 
23 namespace pdu
24 {
25 
27 class ODIL_API PresentationContextRQ: public PresentationContext
28 {
29 public:
31  PresentationContextRQ(
32  uint8_t id, std::string const & abstract_syntax,
33  std::vector<std::string> const & transfer_syntaxes);
34 
36  PresentationContextRQ(std::istream & stream);
37 
40 
42  std::string get_abstract_syntax() const;
43 
45  void set_abstract_syntax(std::string const & abstract_syntax);
46 
48  std::vector<std::string> get_transfer_syntaxes() const;
49 
51  void set_transfer_syntaxes(
52  std::vector<std::string> const & transfer_syntaxes);
53 };
54 
55 }
56 
57 }
58 
59 #endif // _e6e42ffd_7318_48f5_b35a_d44093564044
odil
Definition: Association.h:23
ODIL_API
#define ODIL_API
Definition: odil.h:27
PresentationContext.h
odil.h
odil::pdu::PresentationContextRQ
Presentation Context item for a A-ASSOCIATE-RQ PDU (PS 3.8, 9.3.2.2).
Definition: PresentationContextRQ.h:36