7 #include "fwData/Boolean.hpp" 9 #include "fwData/Exception.hpp" 10 #include "fwData/GenericField.hpp" 11 #include "fwData/registry/macros.hpp" 34 Boolean::csptr other = Boolean::dynamicConstCast(_source);
36 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
46 Boolean::csptr other = Boolean::dynamicConstCast(_source);
48 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
bool m_value
The stored value.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Implements data exception class.
virtual FWDATA_API ~Boolean() noexcept
Destructor.
FWDATA_API void fieldDeepCopy(const ::fwData::Object::csptr &source)
A deep copy of fields (objects in m_children)
FWDATA_API Boolean(::fwData::Object::Key key) noexcept
Constructor.
FWDATA_API void cachedDeepCopy(const Object::csptr &_source, DeepCopyCacheType &cache) override
Defines deep copy.
virtual const std::string & getClassname() const override
return full object's classname with its namespace, i.e. fwCore::BaseObject
FWDATA_API void shallowCopy(const Object::csptr &_source) override
Defines shallow copy.
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 a boolean value.