00001
00002
00003
00004
00005 #ifndef EXPANDFILENAME_HEADER
00006 #define EXPANDFILENAME_HEADER
00007
00008 #include <vector>
00009 #include <string>
00010 #include "listdir.hh"
00011
00012 namespace scala
00013 {
00014 class ExpandFileName {
00015 public:
00016
00017
00018 ExpandFileName(const std::string& fname,
00019 const std::string& ext);
00020
00021
00022 ExpandFileName(const std::vector<std::string>& Names);
00023
00024
00025 bool Wild() const {return wild;}
00026
00027 std::vector<FileNameTime> NameTimes() const {return names;}
00028
00029 private:
00030 std::string filename;
00031 std::string extension;
00032 bool wild;
00033 std::vector<FileNameTime> names;
00034 };
00035 }
00036 #endif