Odil
A C++11 library for the DICOM standard
NSetSCU.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 _c80c338c_36d7_4724_9732_c7afed87902b
10 #define _c80c338c_36d7_4724_9732_c7afed87902b
11 
12 #include "odil/Association.h"
13 #include "odil/DataSet.h"
14 #include "odil/odil.h"
15 #include "odil/SCU.h"
16 
17 namespace odil
18 {
19 
21 class ODIL_API NSetSCU: public SCU
22 {
23 public:
25  NSetSCU(Association & association);
26 
28  void set_affected_sop_class(std::shared_ptr<DataSet const> dataset);
29 
31  void set(std::shared_ptr<DataSet> dataset) const;
32 };
33 
34 }
35 
36 #endif // _c80c338c_36d7_4724_9732_c7afed87902b
odil
Definition: Association.h:25
ODIL_API
#define ODIL_API
Definition: odil.h:28
Association.h
odil::NSetSCU::set_affected_sop_class
void set_affected_sop_class(std::shared_ptr< DataSet const > dataset)
Set the affected SOP class based on the dataset.
odil.h
odil::NSetSCU
SCU for C-Store services.
Definition: NSetSCU.h:22
odil::NSetSCU::set
void set(std::shared_ptr< DataSet > dataset) const
Perform the N-SET.
odil::Association
Association.
Definition: Association.h:31
SCU.h
odil::SCU
Base class for all Service Class Users.
Definition: SCU.h:22
DataSet.h
odil::NSetSCU::NSetSCU
NSetSCU(Association &association)
Constructor.