7 #include "fwData/Float.hpp" 9 #include "fwData/Exception.hpp" 10 #include "fwData/GenericField.hpp" 11 #include "fwData/registry/macros.hpp" 20 Float::Float( ) noexcept
39 Float::csptr other = Float::dynamicConstCast(_source);
41 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
51 Float::csptr other = Float::dynamicConstCast(_source);
53 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
float 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 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
FWDATA_API void cachedDeepCopy(const Object::csptr &_source, DeepCopyCacheType &cache) override
Defines deep 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 an float value.
virtual FWDATA_API ~Float() noexcept
Destructor.
FWDATA_API void shallowCopy(const Object::csptr &_source) override
Defines shallow copy.