DataCheck.h

Go to the documentation of this file.
00001 
00005 /* Copyright © 2010 James Legg.
00006     This program is free software: you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation, either version 3 of the License, or
00009     (at your option) any later version.
00010 */
00011 
00012 #ifndef LIBTRACK_DATA_CHECK_H
00013 #define LIBTRACK_DATA_CHECK_H
00014 
00015 #include <string>
00016 
00017 namespace Track
00018 {
00019 
00022 class DataCheck
00023 {
00024     public:
00027         class FileMissingError
00028         {
00029             public:
00031                 std::string filename;
00032         };
00033         
00035         DataCheck();
00036     private:
00038         void check_file(std::string filename);
00039         
00044         bool check_directory(std::string path);
00045         
00050         bool check_relative_directory(std::string path);
00051 };
00052 
00053 } // namespace Track
00054 
00055 #endif // LIBTRACK_DATA_CHECK_H

Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:11 2010 by Doxygen version 1.4.7 for Racer version svn335.