libplatform/io/FileSystem.h Source File
1 #ifndef MP4V2_PLATFORM_IO_FILESYSTEM_H
2 #define MP4V2_PLATFORM_IO_FILESYSTEM_H
4 namespace mp4v2 {
namespace platform {
namespace io {
32 static bool exists( std::string name );
62 static bool isFile( std::string name );
105 static bool rename( std::string oldname, std::string newname );
118 static void pathnameTemp(
string& name,
string dir =
".",
string prefix =
"tmp",
string suffix =
"" );
150 static void pathnameOnlyDirectory(
string& name,
bool trailing =
true );
163 static void pathnameOnlyFile(
string& name );
177 static void pathnameOnlyBasename(
string& name );
215 #endif // MP4V2_PLATFORM_IO_FILESYSTEM_H