7 #include "fwData/registry/macros.hpp" 8 #include "fwData/Exception.hpp" 10 #include "fwData/GenericField.hpp" 11 #include "fwData/String.hpp" 34 String::csptr other = String::dynamicConstCast(_source);
36 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
46 String::csptr other = String::dynamicConstCast(_source);
48 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
std::string m_value
The stored value.
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 ~String() noexcept
Destructor.
FWDATA_API void shallowCopy(const Object::csptr &_source) override
Defines shallow copy.
FWDATA_API void fieldDeepCopy(const ::fwData::Object::csptr &source)
A deep copy of fields (objects in m_children)
FWDATA_API String(::fwData::Object::Key key) noexcept
Constructor.
Contains the representation of the data objects used in the framework.
FWDATA_API void fieldShallowCopy(const ::fwData::Object::csptr &source)
A shallow copy of fields (objects in m_children)
This class contains an std::string value.
virtual const std::string & getClassname() const override
return full object's classname with its namespace, i.e. fwCore::BaseObject