11 #ifndef CXIMAGEDATACONTAINER_H
12 #define CXIMAGEDATACONTAINER_H
14 #include "cxResourceExport.h"
70 virtual unsigned size()
const = 0;
71 bool empty()
const {
return this->size()==0; }
72 virtual bool purge(
unsigned index) {
return false; }
73 virtual void purgeAll();
92 virtual QString getFilename(
unsigned index);
93 virtual unsigned size()
const;
94 virtual bool purge(
unsigned index) {
return mImages[index]->purge(); }
100 void append(QString filename);
102 std::vector<CachedImageDataPtr> mImages;
103 bool mDeleteFilesOnRelease;
120 virtual unsigned size()
const;
122 std::vector<vtkImageDataPtr> mImages;
138 virtual unsigned size()
const;
140 std::vector<vtkImageDataPtr> mImages;
152 #endif // CXIMAGEDATACONTAINER_H