7 #include "fwMedData/Series.hpp" 8 #include "fwMedData/SeriesDB.hpp" 10 #include <fwCom/Signal.hpp> 11 #include <fwCom/Signal.hxx> 13 #include <fwData/Exception.hpp> 14 #include <fwData/registry/macros.hpp> 43 SeriesDB::csptr other = SeriesDB::dynamicConstCast(_source);
45 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
57 SeriesDB::csptr other = SeriesDB::dynamicConstCast(_source);
59 "Unable to copy" + (_source ? _source->getClassname() : std::string(
"<NULL>"))
65 for(
const ValueType &series : other->m_container)
Namespace containing medical data.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Implements data exception class.
FWMEDDATA_API SeriesDB(::fwData::Object::Key key)
Constructor.
virtual const std::string & getClassname() const override
return full object's classname with its namespace, i.e. fwCore::BaseObject
static FWMEDDATA_APIconst::fwCom::Signals::SignalKeyType s_ADDED_SERIES_SIG
Type of signal when series are added.
FWDATA_API void fieldDeepCopy(const ::fwData::Object::csptr &source)
A deep copy of fields (objects in m_children)
static FWMEDDATA_APIconst::fwCom::Signals::SignalKeyType s_REMOVED_SERIES_SIG
Type of signal when series are added.
static FWDATA_API::fwData::Object::sptr copy(const ::fwData::Object::csptr &source)
return a copy of the source. if source is a null pointer, return a null pointer.
FWMEDDATA_API void shallowCopy(const ::fwData::Object::csptr &_source) override
Defines shallow copy.
virtual FWMEDDATA_API ~SeriesDB()
Destructor.
ContainerType m_container
Series container.
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.