36 #ifndef FILEFINDER_HPP_ 37 #define FILEFINDER_HPP_ 130 virtual void SetPath(
const std::string& rLeafName,
const FileFinder& rParentOrSibling);
135 bool IsPathSet()
const;
157 bool IsEmpty()
const;
165 std::string GetAbsolutePath()
const;
173 bool IsNewerThan(
const FileFinder& rOtherEntity)
const;
180 std::string GetLeafName()
const;
187 std::string GetLeafNameNoExtension()
const;
193 std::string GetExtension()
const;
205 std::string GetRelativePath(
const FileFinder& rBasePath)
const;
246 void DangerousRemove()
const;
259 std::vector<FileFinder> FindMatches(
const std::string& rPattern)
const;
266 static bool IsAbsolutePath(
const std::string& rPath);
273 static void ReplaceSpacesWithUnderscores(std::string& rPath);
280 static void ReplaceUnderscoresWithSpaces(std::string& rPath);
293 static void StopFaking();
316 void PrivateRemove(
bool dangerous=
false)
const;
static RelativeTo::Value msFakeWhat
static std::string msFakePath