fw4spl
io/fwPacsIO/include/fwPacsIO/helper/Series.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2016.
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 #ifndef __FWPACSIO_HELPER_SERIES_HPP__
8 #define __FWPACSIO_HELPER_SERIES_HPP__
9 
10 #include <dcmtk/config/osconfig.h>
11 #include <dcmtk/dcmnet/scu.h>
12 
13 #include "fwPacsIO/config.hpp"
14 #include "fwPacsIO/data/PacsConfiguration.hpp"
15 
16 #include <fwData/Vector.hpp>
17 #include <fwMedData/SeriesDB.hpp>
18 
19 namespace fwMedData
20 {
21 class DicomSeries;
22 }
23 
24 namespace fwMedData
25 {
26 class ImageSeries;
27 class ModelSeries;
28 }
29 
30 namespace fwPacsIO
31 {
32 namespace helper
33 {
34 
38 class FWPACSIO_CLASS_API Series
39 {
40 public:
41 
42  typedef ::fwMedData::SeriesDB::ContainerType DicomSeriesContainer;
43  typedef std::vector< std::string > InstanceUIDContainer;
44  typedef std::map < std::string, unsigned int > InstanceCountMap;
45 
50  FWPACSIO_API static void releaseResponses(OFList< QRResponse* > responses);
51 
56  FWPACSIO_API static DicomSeriesContainer toFwMedData(OFList< QRResponse* > responses);
57 
62  FWPACSIO_API static InstanceUIDContainer toSeriesInstanceUIDContainer(OFList< QRResponse* > responses);
63 
68  FWPACSIO_API static InstanceUIDContainer toSeriesInstanceUIDContainer(DicomSeriesContainer series);
69 
70 };
71 
72 } //helper
73 } //fwPacsIO
74 
75 
76 #endif /* __FWPACSIO_HELPER_SERIES_HPP__ */
Namespace containing medical data.
fwPacsIO contains classes used to communicate with a PACS.