StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
stdair_file.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_STDAIR_FILE_HPP
2 #define __STDAIR_STDAIR_FILE_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // Boost
10 #include <boost/utility.hpp>
11 // StdAir
13 
14 namespace stdair {
15 
22  class RootFilePath {
23  public:
27  RootFilePath (const Filename_T& iFilename) :
28  _filename (iFilename) {}
32  RootFilePath () : _filename ("MyFilename") {}
33 
37  virtual ~RootFilePath() {}
38 
42  const char * name() const {
43  return _filename.c_str();
44  }
45 
46  protected:
51  };
52 
54  class InputFilePath : public RootFilePath {
55  public:
57  InputFilePath (const Filename_T& iFilename) :
58  RootFilePath (iFilename) {}
59  };
60 
65  public:
69  explicit ScheduleFilePath (const Filename_T& iFilename)
70  : InputFilePath (iFilename) {}
71  };
72 
76  class ODFilePath : public InputFilePath {
77  public:
81  explicit ODFilePath (const Filename_T& iFilename)
82  : InputFilePath (iFilename) {}
83  };
84 
88  class FRAT5FilePath : public InputFilePath {
89  public:
93  explicit FRAT5FilePath (const Filename_T& iFilename)
94  : InputFilePath (iFilename) {}
95  };
96 
101  public:
105  explicit FFDisutilityFilePath (const Filename_T& iFilename)
106  : InputFilePath (iFilename) {}
107  };
108 
112  class ConfigINIFile : public InputFilePath {
113  public:
117  explicit ConfigINIFile (const Filename_T& iFilename)
118  : InputFilePath (iFilename) {}
119 
120  };
121 
122 }
123 #endif // __STDAIR_STDAIR_FILE_HPP