7 #include "fwMedData/Equipment.hpp" 9 #include <fwData/Exception.hpp> 10 #include <fwData/registry/macros.hpp> 31 Equipment::csptr other = Equipment::dynamicConstCast(_source);
33 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
44 Equipment::csptr other = Equipment::dynamicConstCast(_source);
46 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
FWMEDDATA_API void cachedDeepCopy(const ::fwData::Object::csptr &_source, DeepCopyCacheType &cache) override
Defines deep copy.
FWMEDDATA_API Equipment(::fwData::Object::Key key)
Constructor.
Namespace containing medical data.
virtual const std::string & getClassname() const override
return full object's classname with its namespace, i.e. fwCore::BaseObject
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Implements data exception class.
Holds equipment information.
DicomValueType m_institutionName
Institution name.
FWDATA_API void fieldDeepCopy(const ::fwData::Object::csptr &source)
A deep copy of fields (objects in m_children)
FWMEDDATA_API void shallowCopy(const ::fwData::Object::csptr &_source) override
Defines shallow copy.
virtual FWMEDDATA_API ~Equipment()
Destructor.
FWDATA_API void fieldShallowCopy(const ::fwData::Object::csptr &source)
A shallow copy of fields (objects in m_children)