fw4spl
core/fwAtoms/src/fwAtoms/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 "fwAtoms/Object.hpp"
8 #include "fwAtoms/factory/new.hpp"
9 
10 namespace fwAtoms
11 {
12 
13 namespace factory
14 {
15 
16 ::fwAtoms::Base::sptr New( const ::fwAtoms::registry::KeyType & classname )
17 {
18  return ::fwAtoms::registry::get()->create(classname);
19 }
20 
21 } // namespace factory
22 
23 } // namespace fwAtoms
24 
25 
fwAtoms contains basic objects to represent any other kind of object
Contains fwAtomsFilter::factory utilities.