7 #ifndef __FWMEDDATA_ATTACHMENTSERIES_HPP__ 8 #define __FWMEDDATA_ATTACHMENTSERIES_HPP__ 10 #include "fwMedData/config.hpp" 11 #include "fwMedData/Series.hpp" 12 #include "fwMedData/types.hpp" 14 #include <fwData/factory/new.hpp> 16 #include <fwMemory/BufferObject.hpp> 18 #include <boost/filesystem/path.hpp> 20 fwCampAutoDeclareDataMacro((
fwMedData)(AttachmentSeries), FWMEDDATA_API);
33 ::fwData::factory::New< AttachmentSeries >);
47 FWMEDDATA_API
void cachedDeepCopy( const ::fwData::Object::csptr& _source, DeepCopyCacheType& cache )
override;
62 FWMEDDATA_API const ::boost::filesystem::path& getAttachmentPath()
const;
64 FWMEDDATA_API
void setAttachmentPath(const ::boost::filesystem::path& path);
67 FWMEDDATA_API ::fwMemory::BufferObject::sptr getBufferObject()
const;
74 FWMEDDATA_API std::string getMediaType()
const;
77 FWMEDDATA_API
void setMediaType(
const std::string& mediaType);
96 #endif // __FWMEDDATA_ATTACHMENTSERIES_HPP__ Namespace containing medical data.
AttachmentAvailability m_attachmentAvailability
Attachment availability.
std::string m_mediaType
Media type of the attached file.
::boost::filesystem::path m_attachmentPath
Local path of attachment file.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
::fwMemory::BufferObject::sptr m_buffer
BufferObject of the current attachment file.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Base class for each data object.
AttachmentAvailability
Availability.
Holds series information.