fw4spl
core/fwData/src/fwData/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 "fwData/Object.hpp"
8 
9 #include "fwData/factory/new.hpp"
10 
11 
12 namespace fwData
13 {
14 
15 namespace factory
16 {
17 
18 ::fwData::Object::sptr New( const ::fwData::registry::KeyType & classname )
19 {
20  return ::fwData::registry::get()->create(classname);
21 }
22 
23 } // namespace factory
24 
25 } // namespace fwData
26 
27 
Contains fwAtomsFilter::factory utilities.
Contains the representation of the data objects used in the framework.