StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 
61 }
62 #endif // __STDAIR_STDAIR_FILE_HPP