00001 #ifndef IMAGE_FILESINPUT_H 00002 #define IMAGE_FILESINPUT_H 00003 00004 #include <deque> 00005 #include <string> 00006 #include "image_fileinput.h" 00007 00008 namespace mimas { 00009 00030 template< typename T > 00031 class image_filesinput: public image_input< T > 00032 { 00033 public: 00035 explicit image_filesinput(void) {} 00038 void addFileName( const std::string &fileName ) 00039 { fileNames.push_back( fileName ); } 00044 virtual void read( image< T > &image ) throw (mimasexception); 00045 protected: 00047 std::deque< std::string > fileNames; 00048 }; 00049 00051 00053 00054 }; 00055 00056 #include "image_filesinput.tcc" 00057 00058 #endif