StdAir Logo  1.00.13
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
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
14namespace 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
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
Handle on the StdAir library context.
std::string Filename_T
Root of the input and output files.
const char * name() const
RootFilePath(const Filename_T &iFilename)
const Filename_T _filename
InputFilePath(const Filename_T &iFilename)
ScheduleFilePath(const Filename_T &iFilename)
ODFilePath(const Filename_T &iFilename)
FRAT5FilePath(const Filename_T &iFilename)
FFDisutilityFilePath(const Filename_T &iFilename)
ConfigINIFile(const Filename_T &iFilename)