fw4spl
io/fwGdcmIO/include/fwGdcmIO/reader/ie/Series.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/reader/ie/InformationEntity.hpp"
10 
11 #include <fwMedData/Series.hpp>
12 
13 namespace fwGdcmIO
14 {
15 namespace reader
16 {
17 namespace ie
18 {
19 
23 class FWGDCMIO_CLASS_API Series : public ::fwGdcmIO::reader::ie::InformationEntity< ::fwMedData::Series >
24 {
25 
26 public:
37  FWGDCMIO_API Series(const CSPTR(::fwMedData::DicomSeries)& dicomSeries,
38  const SPTR(::gdcm::Reader)& reader,
39  const SPTR(::fwGdcmIO::container::DicomInstance)& instance,
40  const ::fwMedData::Series::sptr& series,
41  const ::fwLog::Logger::sptr& logger = nullptr,
42  ProgressCallback progress = nullptr,
43  CancelRequestedCallback cancel = nullptr);
44 
46  FWGDCMIO_API virtual ~Series();
47 
52  FWGDCMIO_API virtual void readGeneralSeriesModule();
53 
54 };
55 
56 } // namespace ie
57 } // namespace reader
58 } // namespace fwGdcmIO
#define SPTR(_cls_)
#define CSPTR(_cls_)
InformationEntity base class used to read 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.