Odil
A C++11 library for the DICOM standard
RoleSelection.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 _8a990556_f9c3_49f3_bb84_6e604ec9b8f4
10 #define _8a990556_f9c3_49f3_bb84_6e604ec9b8f4
11 
12 #include <cstdint>
13 #include <istream>
14 #include <string>
15 
16 #include "odil/odil.h"
17 #include "odil/pdu/Object.h"
18 
19 namespace odil
20 {
21 
22 namespace pdu
23 {
24 
26 class ODIL_API RoleSelection: public Object
27 {
28 public:
30  static uint8_t const type=0x54;
31 
33  RoleSelection(
34  std::string const & sop_class_uid="",
35  bool scu_role_support=false, bool scp_role_support=false);
36 
38  RoleSelection(std::istream & stream);
39 
44  std::string const & get_sop_class_uid() const;
45 
47  void set_sop_class_uid(std::string const & value);
48 
50  bool get_scu_role_support() const;
51 
53  void set_scu_role_support(bool value);
54 
56  bool get_scp_role_support() const;
57 
59  void set_scp_role_support(bool value);
60 };
61 
62 }
63 
64 }
65 
66 #endif // _8a990556_f9c3_49f3_bb84_6e604ec9b8f4
odil
Definition: Association.h:23
ODIL_API
#define ODIL_API
Definition: odil.h:27
odil::pdu::RoleSelection
SCU/SCP Role Selection Sub-Item (PS 3.7, D.3.3.4.1 and D.3.3.4.2).
Definition: RoleSelection.h:35
odil.h
Object.h