fw4spl
core/fwDataIO/include/fwDataIO/writer/registry/detail.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
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 __FWDATAIO_WRITER_REGISTRY_DETAIL_HPP__
8 #define __FWDATAIO_WRITER_REGISTRY_DETAIL_HPP__
9 
10 #include <string>
11 
12 #include <fwCore/macros.hpp>
13 #include <fwCore/util/FactoryRegistry.hpp>
14 
15 #include "fwDataIO/config.hpp"
16 
17 namespace fwDataIO
18 {
19 namespace writer
20 {
21 
22 class IObjectWriter;
23 
24 namespace registry
25 {
26 
27 typedef std::string KeyType;
28 
29 typedef ::fwCore::util::FactoryRegistry< SPTR(::fwDataIO::writer::IObjectWriter) (), KeyType > Type;
30 
31 FWDATAIO_API SPTR(Type) get();
32 
33 } // namespace registry
34 
35 } // namespace writer
36 
37 } // namespace fwDataIO
38 
39 #endif /* __FWDATAIO_WRITER_REGISTRY_DETAIL_HPP__ */
40 
41 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
This namespace fwDataIO contains reader and writer for several framework&#39;s data.
This file defines fwCore base macros.