ON_FileSystem Class Reference

#include <opennurbs_file_utilities.h>

Static Public Member Functions

static bool IsDirectory (const char *path)
 
static bool IsDirectory (const wchar_t *path)
 
static bool IsDirectoryWithWriteAccess (const char *path)
 
static bool IsDirectoryWithWriteAccess (const wchar_t *path)
 
static bool IsFile (const char *path)
 
static bool IsFile (const wchar_t *path)
 
static bool PathExists (const char *path)
 
static bool PathExists (const wchar_t *path)
 
static bool RemoveFile (const char *file_path)
 
static bool RemoveFile (const wchar_t *file_path)
 

Member Function Documentation

◆ IsDirectory() [1/2]

static bool ON_FileSystem::IsDirectory ( const char *  path)
static
Returns
True if path is a directory. False otherwise.

◆ IsDirectory() [2/2]

static bool ON_FileSystem::IsDirectory ( const wchar_t *  path)
static
Returns
True if path is a directory. False otherwise.

◆ IsDirectoryWithWriteAccess() [1/2]

static bool ON_FileSystem::IsDirectoryWithWriteAccess ( const char *  path)
static
Returns
True if path is a directory where files can be written. False otherwise.

◆ IsDirectoryWithWriteAccess() [2/2]

static bool ON_FileSystem::IsDirectoryWithWriteAccess ( const wchar_t *  path)
static
Returns
True if path is a directory where files can be written. False otherwise.

◆ IsFile() [1/2]

static bool ON_FileSystem::IsFile ( const char *  path)
static
Returns
True if path is a file. False otherwise.

◆ IsFile() [2/2]

static bool ON_FileSystem::IsFile ( const wchar_t *  path)
static
Returns
True if path is a file. False otherwise.

◆ PathExists() [1/2]

static bool ON_FileSystem::PathExists ( const char *  path)
static

◆ PathExists() [2/2]

static bool ON_FileSystem::PathExists ( const wchar_t *  path)
static

◆ RemoveFile() [1/2]

static bool ON_FileSystem::RemoveFile ( const char *  file_path)
static
Parameters
file_path[in] name of file to delete
Returns
True if the fuke existed and was removed.

◆ RemoveFile() [2/2]

static bool ON_FileSystem::RemoveFile ( const wchar_t *  file_path)
static
Parameters
file_path[in] name of file to delete
Returns
True if the fuke existed and was removed.