7 #ifndef __FWDATATOOLS_HELPER_COMPOSITE_HPP__ 8 #define __FWDATATOOLS_HELPER_COMPOSITE_HPP__ 10 #include "fwDataTools/config.hpp" 12 #include "fwData/Composite.hpp" 28 FWDATATOOLS_API
Composite( ::fwData::Composite::wptr _composite );
31 FWDATATOOLS_API ~Composite();
40 FWDATATOOLS_API
void add( std::string _compositeKey, ::fwData::Object::sptr _newObject );
48 FWDATATOOLS_API
void remove( std::string _compositeKey );
55 FWDATATOOLS_API
void clear();
64 FWDATATOOLS_API
void swap( std::string _compositeKey, ::fwData::Object::sptr _newObject );
71 FWDATATOOLS_API
void notify();
76 ::fwData::Composite::ContainerType m_addedObjects;
78 ::fwData::Composite::ContainerType m_newChangedObjects;
80 ::fwData::Composite::ContainerType m_oldChangedObjects;
82 ::fwData::Composite::ContainerType m_removedObjects;
84 ::fwData::Composite::wptr m_composite;
90 #endif // __FWDATATOOLS_HELPER_COMPOSITE_HPP__