7 #ifndef __FWATOMS_OBJECT_HXX__ 8 #define __FWATOMS_OBJECT_HXX__ 10 #include "fwAtoms/config.hpp" 11 #include "fwAtoms/Base.hpp" 12 #include "fwAtoms/factory/new.hpp" 14 #ifndef __FWATOMS_OBJECT_HPP__ 15 #error fwAtoms/Object.hpp not included 21 template <
typename OBJECT_TYPE >
24 ::fwAtoms::Base::sptr base = this->getAttribute(key);
25 return std::dynamic_pointer_cast< OBJECT_TYPE >(base);
fwAtoms contains basic objects to represent any other kind of object
Class represented a fwData::Object.