1.0.1 Added in place GetFileInDirectory function
Definition at line 39 of file CFileManager.hpp.
static bool Exponent::Host::CFileManager::createNewFolder | ( | const CSystemString & | string | ) | [static] |
Create a folder
string | Path to create folder at |
bool | True if created properly, false otherwise |
static bool Exponent::Host::CFileManager::doesFileExist | ( | const CSystemString & | filename | ) | [static] |
Does a file exist
filename | Name of the fle to look for |
bool | True if file exists in location, false otherwise |
static bool Exponent::Host::CFileManager::fileExistsInDirectory | ( | const CSystemString & | filename, | |
const CSystemString & | path | |||
) | [static] |
File is in the directory
filename | Name of the file to check for | |
path | The folder you want to look inside |
bool | True if file exists in location, false otherwise |
static void Exponent::Host::CFileManager::getApplicationDirectory | ( | CSystemString & | string, | |
bool | addTrailingSlashes = false | |||
) | [static] |
Get the current directory (On mac returns the current working directory
string | On return is filled with the cwd | |
addTrailingSlashes | If true appends system seperator to end of string |
static void Exponent::Host::CFileManager::getFilesInDirectory | ( | TCountedPointerArray< CFileInformation > & | array, | |
const CSystemString & | path | |||
) | [static] |
Get all of the files in a directory (path ends with *.* and returns an array of CFileInformation)
array | The array to fill with CFileInformation | |
path | The path to scan |
static void Exponent::Host::CFileManager::getFilesInDirectory | ( | const CSystemString & | path, | |
TStringCountedPointerArray * | array | |||
) | [static] |
Get all the files in a directory (path should end with *.*, fills string array with filenames)
path | The path to get files for | |
array | On return is filled with strings of the filenames |
static long Exponent::Host::CFileManager::getNumberOfFilesInDirectory | ( | const CSystemString & | path | ) | [static] |
Get the number of files in the directory (path should end with *.*)
path | The path to scan |
long | The number of files in the directory |
static bool Exponent::Host::CFileManager::isFolderPath | ( | const CSystemString & | path | ) | [static] |
Is the path to a folder
path | The path to check |
bool | True if path is to a folder, false otherwise |
static void Exponent::Host::CFileManager::sortDirectoryContents | ( | TCountedPointerArray< CFileInformation > & | array | ) | [static] |
Sort a contents list in to alphabetical order (with folder first)
array | The array of CFileInformation to sort |