SLProject 4.0.000
Utils_iOS Class Reference

SLFileSystem provides basic filesystem functions. More...

#include <Utils_iOS.h>

Static Public Member Functions

static bool fileExists (std::string &pathfilename)
 Returns true if a file exists. More...
 
static std::vector< std::string > getAllNamesInDir (const std::string &dirName, bool fullPath=true)
 Returns all files and folders in a directory as a vector. More...
 
static std::string getAppsWritableDir ()
 Returns the writable configuration directory. More...
 
static std::string getAppsDocumentsDir ()
 Returns the writable documents directory. More...
 
static std::string getCurrentWorkingDir ()
 Returns the working directory. More...
 
static bool deleteFile (std::string &pathfilename)
 Deletes a file on the filesystem. More...
 

Detailed Description

SLFileSystem provides basic filesystem functions.

Member Function Documentation

◆ deleteFile()

static bool Utils_iOS::deleteFile ( std::string &  pathfilename)
static

Deletes a file on the filesystem.

◆ fileExists()

static bool Utils_iOS::fileExists ( std::string &  pathfilename)
static

Returns true if a file exists.

◆ getAllNamesInDir()

static std::vector< std::string > Utils_iOS::getAllNamesInDir ( const std::string &  dirName,
bool  fullPath = true 
)
static

Returns all files and folders in a directory as a vector.

◆ getAppsDocumentsDir()

static std::string Utils_iOS::getAppsDocumentsDir ( )
static

Returns the writable documents directory.

◆ getAppsWritableDir()

static std::string Utils_iOS::getAppsWritableDir ( )
static

Returns the writable configuration directory.

◆ getCurrentWorkingDir()

static std::string Utils_iOS::getCurrentWorkingDir ( )
static

Returns the working directory.


The documentation for this class was generated from the following file: