fw4spl
core/fwAtomConversion/src/fwAtomConversion/mapper/factory/new.cpp
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 #include "fwAtomConversion/mapper/Base.hpp"
8 
9 #include "fwAtomConversion/mapper/factory/new.hpp"
10 
11 
12 namespace fwAtomConversion
13 {
14 namespace mapper
15 {
16 namespace factory
17 {
18 
19 SPTR(::fwAtomConversion::mapper::Base) New( const ::fwAtomConversion::mapper::registry::KeyType & classname )
20 {
21  return ::fwAtomConversion::mapper::registry::get()->create(classname);
22 }
23 
24 } // namespace factory
25 } // namespace mapper
26 } // namespace fwAtomConversion
27 
28 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
This namespace contains the necessary class for fwData <-> fwAtoms conversion.
Contains fwAtomsFilter::factory utilities.
Base class of custom mapper between fwData and fwAtoms.