Subversion Repositories tpanel

Rev

Rev 22 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22 Rev 71
Line 22... Line 22...
22
#include <string>
22
#include <string>
23
 
23
 
24
class TValidateFile
24
class TValidateFile
25
{
25
{
26
    public:
26
    public:
-
 
27
        TValidateFile() {}
-
 
28
        TValidateFile(const std::string& file) { mFile = file; }
-
 
29
 
27
        bool isValidFile() { return isValidFile(mFile); }
30
        bool isValidFile() { return isValidFile(mFile); }
28
        bool isValidFile(const std::string& file);
31
        bool isValidFile(const std::string& file);
-
 
32
        bool isValidDir() { return isValidDir(mFile); }
-
 
33
        bool isValidDir(const std::string& path);
29
        std::string& makeFileName(const std::string& path, const std::string& name);
34
        std::string& makeFileName(const std::string& path, const std::string& name);
30
        std::string& getFileName() { return mFile; }
35
        std::string& getFileName() { return mFile; }
31
        static bool createPath(const std::string& path);
36
        static bool createPath(const std::string& path);
32
 
37
 
33
    private:
38
    private: