#include <DataCheck.h>
Public Member Functions | |
DataCheck () | |
Throws an error if files are missing. | |
Private Member Functions | |
void | check_file (std::string filename) |
Throw error if file is missing. | |
bool | check_directory (std::string path) |
Check for a file in a full path. | |
bool | check_relative_directory (std::string path) |
Check for a file in a path relative to the working directory. | |
Classes | |
class | FileMissingError |
Error for an inaccessible file. More... |
Definition at line 22 of file DataCheck.h.
Track::DataCheck::DataCheck | ( | ) |
Throws an error if files are missing.
Definition at line 24 of file DataCheck.cpp.
bool Track::DataCheck::check_directory | ( | std::string | path | ) | [private] |
Check for a file in a full path.
Sets the path as the current working directory if it works.
Definition at line 71 of file DataCheck.cpp.
void Track::DataCheck::check_file | ( | std::string | filename | ) | [private] |
bool Track::DataCheck::check_relative_directory | ( | std::string | path | ) | [private] |
Check for a file in a path relative to the working directory.
Sets the full path as the current working directory if it works.
Definition at line 93 of file DataCheck.cpp.
Generated at Mon Sep 6 00:41:18 2010 by Doxygen version 1.4.7 for Racer version svn335.