odil
C++11libraryfortheDICOMstandard
StoreSCU.h
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 _1b2f876e_1ad2_464d_9423_28181320aed0
10 #define _1b2f876e_1ad2_464d_9423_28181320aed0
11 
12 #include "odil/Association.h"
13 #include "odil/DataSet.h"
14 #include "odil/SCU.h"
15 
16 namespace odil
17 {
18 
20 class StoreSCU: public SCU
21 {
22 public:
24  StoreSCU(Association & association);
25 
27  virtual ~StoreSCU();
28 
30  void set_affected_sop_class(DataSet const & dataset);
31 
33 
35  void store(
36  DataSet const & dataset,
37  Value::String const & move_originator_ae_title = "",
38  Value::Integer move_originator_message_id = -1) const;
39 };
40 
41 }
42 
43 #endif // _1b2f876e_1ad2_464d_9423_28181320aed0
virtual ~StoreSCU()
Destructor.
Definition: StoreSCU.cpp:34
void set_affected_sop_class(std::string const &sop_class)
Set the affected SOP class.
Definition: SCU.cpp:45
Base class for all Service Class Users.
Definition: SCU.h:20
void set_affected_sop_class(DataSet const &dataset)
Set the affected SOP class based on the dataset.
Definition: StoreSCU.cpp:41
StoreSCU(Association &association)
Constructor.
Definition: StoreSCU.cpp:27
Definition: Association.cpp:39
std::string String
String type.
Definition: Value.h:46
void store(DataSet const &dataset, Value::String const &move_originator_ae_title="", Value::Integer move_originator_message_id=-1) const
Perform the C-STORE.
Definition: StoreSCU.cpp:67
DICOM Data set.
Definition: DataSet.h:28
Association.
Definition: Association.h:29
int64_t Integer
Integer type.
Definition: Value.h:40
SCU for C-Store services.
Definition: StoreSCU.h:20