00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __freFileDispatch_h
00024 #define __freFileDispatch_h
00025
00026 #include <string>
00027
00028 namespace FREE
00029 {
00030
00031 class FileDispatch
00032 {
00033 public:
00035 static std::string GetName(const std::string& sFilePath);
00037 static std::string GetExtension(const std::string& sFilePath);
00039 static std::string GetFullName(const std::string& sFilePath);
00041 static std::string GetPath(const std::string& sFilePath);
00042
00045 static std::string CreateFullPath(const char* path, const char* file);
00046
00047 std::string GetName();
00048 std::string GetExtension();
00049 std::string GetFullName();
00050 std::string GetPath();
00051
00052 FileDispatch(const std::string& sFilePath);
00053
00054 private:
00055 std::string m_sFileName;
00056 };
00057
00058 }
00059
00060 #endif