src/util/file_system.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  FileSystem

Functions

std::string FileSystem::dirname (const std::string &filename)
 returns the path of the directory the file is in
std::string FileSystem::basename (const std::string &filename)
 returns the name of the file
std::string FileSystem::strip_extension (const std::string &filename)
 remove everything starting from and including the last dot
std::string FileSystem::normalize (const std::string &filename)
 normalize filename so that "blup/bla/blo/../../bar" will become "blup/bar"


Generated on Mon Apr 14 03:38:30 2014 for SuperTux by  doxygen 1.5.1