Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

StageinlistExpander.hpp

Go to the documentation of this file.
00001 #ifndef CAFESTAGEINLISTEXPANDER_HPP__
00002 #define CAFESTAGEINLISTEXPANDER_HPP__
00003 
00004 
00005 #include "cafe/Expander.hpp"
00006 
00007 #include <string>
00008 #include <fstream>
00009 
00010 namespace cafe {
00011 
00029     class StageinlistExpander : public Expander {
00030     public:
00031         StageinlistExpander(const char *url);
00032         ~StageinlistExpander();
00033         virtual std::string nextFile();
00034 
00035     private:
00036         void clean();
00037         bool fileExists(const std::string & fileName) const;
00038 
00039         std::string _stageinCommand;
00040         std::string _stageinDirectory;
00041         std::string _localFile;
00042         std::string _host;
00043         std::ifstream _file;
00044 
00045         ClassDef(StageinlistExpander, 0);
00046     };
00047 }
00048 
00049 
00050 #endif

Generated on Tue Mar 28 10:13:04 2006 for CAF by doxygen 1.3.4