Odil
A C++11 library for the DICOM standard
SCU.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 _ba1518e7_8123_46c9_81c0_65439717e40e
10 #define _ba1518e7_8123_46c9_81c0_65439717e40e
11 
12 #include <string>
13 
14 #include "odil/Association.h"
15 #include "odil/odil.h"
16 
17 namespace odil
18 {
19 
22 {
23 public:
25  SCU(Association & association);
26 
28  virtual ~SCU();
29 
31  std::string const & get_affected_sop_class() const;
33  void set_affected_sop_class(std::string const & sop_class);
34 
35 protected:
38 
40  std::string _affected_sop_class;
41 };
42 
43 }
44 
45 #endif // _ba1518e7_8123_46c9_81c0_65439717e40e
Association.
Definition: Association.h:31
Base class for all Service Class Users.
Definition: SCU.h:22
void set_affected_sop_class(std::string const &sop_class)
Set the affected SOP class.
SCU(Association &association)
Create a default Service Class User.
Association & _association
Association with peer.
Definition: SCU.h:37
std::string const & get_affected_sop_class() const
Return the affected SOP class. Defaults to "".
virtual ~SCU()
Destructor.
std::string _affected_sop_class
Affected SOP class.
Definition: SCU.h:40
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28