foobar2000 SDK  2015-01-14
Namespaces | Functions | Variables
pathUtils.cpp File Reference

Go to the source code of this file.

Namespaces

 pfc
 
 pfc::io
 
 pfc::io::path
 

Functions

string pfc::io::path::combine (string basePath, string fileName)
 
static const string pfc::io::path::g_illegalNameChars (g_pathSeparators#ifdef _WINDOWS+":<>*?\""#else+"*?"#endif)
 
static const string pfc::io::path::g_illegalNameChars_noWC (g_pathSeparators#ifdef _WINDOWS+":<>?\""#endif)
 
static const string pfc::io::path::g_pathSeparators ("/")
 
char pfc::io::path::getDefaultSeparator ()
 
string pfc::io::path::getDirectory (string filePath)
 
string pfc::io::path::getFileExtension (string path)
 
string pfc::io::path::getFileName (string path)
 
string pfc::io::path::getFileNameWithoutExtension (string path)
 
string pfc::io::path::getIllegalNameChars (bool allowWC)
 
string pfc::io::path::getParent (string filePath)
 
string pfc::io::path::getSeparators ()
 
bool pfc::io::path::isDirectoryRoot (string path)
 
static bool pfc::io::path::isIllegalTrailingChar (char c)
 
bool pfc::io::path::isInsideDirectory (pfc::string directory, pfc::string inside)
 
bool pfc::io::path::isSeparator (char c)
 
static string pfc::io::path::replaceIllegalChar (char c)
 
string pfc::io::path::replaceIllegalNameChars (string fn, bool allowWC)
 
string pfc::io::path::replaceIllegalPathChars (string fn)
 
string pfc::io::path::validateFileName (string name, bool allowWC)
 

Variables

static const string pfc::io::path::g_pathSeparators ("\\/|")