00001 #ifndef __STDAIR_STDAIR_FILE_HPP 00002 #define __STDAIR_STDAIR_FILE_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <string> 00009 // Boost 00010 #include <boost/utility.hpp> 00011 // StdAir 00012 #include <stdair/stdair_basic_types.hpp> 00013 00014 namespace stdair { 00015 00022 class RootFilePath { 00023 public: 00027 RootFilePath (const Filename_T& iFilename) : 00028 _filename (iFilename) {} 00032 RootFilePath () : _filename ("MyFilename") {} 00033 00037 virtual ~RootFilePath() {} 00038 00042 const char * name() const { 00043 return _filename.c_str(); 00044 } 00045 00046 protected: 00050 const Filename_T _filename; 00051 }; 00052 00054 class InputFilePath : public RootFilePath { 00055 public: 00057 InputFilePath (const Filename_T& iFilename) : 00058 RootFilePath (iFilename) {} 00059 }; 00060 00061 } 00062 #endif // __STDAIR_STDAIR_FILE_HPP