32 #ifndef CXIMAGEDATACONTAINER_H 33 #define CXIMAGEDATACONTAINER_H 35 #include "cxResourceExport.h" 91 virtual unsigned size()
const = 0;
92 bool empty()
const {
return this->size()==0; }
93 virtual bool purge(
unsigned index) {
return false; }
94 virtual void purgeAll();
113 virtual QString getFilename(
unsigned index);
114 virtual unsigned size()
const;
115 virtual bool purge(
unsigned index) {
return mImages[index]->purge(); }
121 void append(QString filename);
123 std::vector<CachedImageDataPtr> mImages;
124 bool mDeleteFilesOnRelease;
139 virtual unsigned size()
const;
141 std::vector<vtkImageDataPtr> mImages;
157 virtual unsigned size()
const;
159 std::vector<vtkImageDataPtr> mImages;
171 #endif // CXIMAGEDATACONTAINER_H virtual ~SplitFramesContainer()
boost::shared_ptr< CachedImageData > CachedImageDataPtr
virtual bool purge(unsigned index)
void setDeleteFilesOnRelease(bool on)
virtual ~FramesDataContainer()
virtual bool purge(unsigned index)
boost::shared_ptr< class CachedImageDataContainer > CachedImageDataContainerPtr
boost::shared_ptr< class ImageDataContainer > ImageDataContainerPtr
virtual ~ImageDataContainer()
Namespace for all CustusX production code.