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