reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
176 if (!Filepath.empty()) 177 return Filepath; 186 Filepath = Dir; 188 Filepath += '/'; 189 Filepath += Filename; 190 return Filepath; 198 Filepath = Filename; 200 Filepath = (Dir + "\\" + Filename).str(); 205 std::replace(Filepath.begin(), Filepath.end(), '/', '\\'); 205 std::replace(Filepath.begin(), Filepath.end(), '/', '\\'); 209 while ((Cursor = Filepath.find("\\.\\", Cursor)) != std::string::npos) 210 Filepath.erase(Cursor, 2); 215 while ((Cursor = Filepath.find("\\..\\", Cursor)) != std::string::npos) { 220 size_t PrevSlash = Filepath.rfind('\\', Cursor - 1); 225 Filepath.erase(PrevSlash, Cursor + 3 - PrevSlash); 232 while ((Cursor = Filepath.find("\\\\", Cursor)) != std::string::npos) 233 Filepath.erase(Cursor, 1); 235 return Filepath;