7 #include "fwData/registry/macros.hpp" 8 #include "fwData/Exception.hpp" 9 #include "fwData/StructureTraits.hpp" 11 #include <fwCore/base.hpp> 20 m_propertyCategory(
""),
23 m_color = ::fwData::Color::New();
36 StructureTraits::csptr other = StructureTraits::dynamicConstCast(source);
38 "Unable to copy" + (source ? source->getClassname() : std::string(
"<NULL>"))
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Implements data exception class.
FWDATA_API void cachedDeepCopy(const Object::csptr &_source, DeepCopyCacheType &cache) override
Defines deep copy.
virtual FWDATA_API ~StructureTraits()
Destructor. Does nothing.
#define SLM_FATAL(message)
FWDATA_API void fieldDeepCopy(const ::fwData::Object::csptr &source)
A deep copy of fields (objects in m_children)
virtual const std::string & getClassname() const override
return full object's classname with its namespace, i.e. fwCore::BaseObject
Contains the representation of the data objects used in the framework.
This class defines structure traits.
FWDATA_API StructureTraits(::fwData::Object::Key key)
Constructor.