fw4spl
io/fwGdcmIO/include/fwGdcmIO/writer/ie/Equipment.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2018.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #pragma once
8 
9 #include "fwGdcmIO/writer/ie/InformationEntity.hpp"
10 
11 #include <fwMedData/Equipment.hpp>
12 
13 namespace fwGdcmIO
14 {
15 namespace writer
16 {
17 namespace ie
18 {
19 
23 class FWGDCMIO_CLASS_API Equipment : public ::fwGdcmIO::writer::ie::InformationEntity< ::fwMedData::Equipment >
24 {
25 
26 public:
36  FWGDCMIO_API Equipment(const SPTR(::gdcm::Writer)& writer,
37  const SPTR(::fwGdcmIO::container::DicomInstance)& instance,
38  const ::fwMedData::Equipment::csptr& equipment,
39  const ::fwLog::Logger::sptr& logger = nullptr,
40  ProgressCallback progress = nullptr,
41  CancelRequestedCallback cancel = nullptr);
42 
44  FWGDCMIO_API virtual ~Equipment();
45 
50  FWGDCMIO_API virtual void writeGeneralEquipmentModule();
51 
56  FWGDCMIO_API virtual void writeEnhancedGeneralEquipmentModule();
57 
58 };
59 
60 } // namespace ie
61 } // namespace writer
62 } // namespace fwGdcmIO
#define SPTR(_cls_)
InformationEntity base class used to write modules.
This class defines a DICOM SOP instance. It is useful during the whole writing process. This class allows to share data between module writers.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.