fw4spl
SOPClass.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2017.
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 __FWGDCMIO_HELPER_SOPCLASS_HPP__
8 #define __FWGDCMIO_HELPER_SOPCLASS_HPP__
9 
10 #include "fwGdcmIO/config.hpp"
11 
12 #include <fwCore/base.hpp>
13 
14 #include <map>
15 #include <string>
16 
17 namespace fwGdcmIO
18 {
19 namespace helper
20 {
21 
25 class FWGDCMIO_CLASS_API SOPClass
26 {
27 
28 public:
35  FWGDCMIO_API static std::string getSOPClassName(const std::string& SOPClassUID);
36 
45  FWGDCMIO_API static bool isHazardousSOPClass(const std::string& SOPClassUID);
46 
47 private:
48 
50  typedef std::pair< std::string, bool > SOPClassNameAndHazardousnessPairType;
51 
55  typedef std::map< std::string, SOPClassNameAndHazardousnessPairType > SOPClassContainerType;
56  static const SOPClassContainerType s_SOP_CLASS_LIST;
59 };
60 
61 } // namespace helper
62 } // namespace fwGdcmIO
63 
64 #endif // __FWGDCMIO_HELPER_SOPCLASS_HPP__
65 
SOPClass tools.
Definition: SOPClass.hpp:25
The namespace fwGdcmIO contains reader, writer and helper for dicom data.