SGL
Functions
platform Namespace Reference

Platform-dependent functions that differ by operating system. More...

Functions

string file_openFileDialog(string , string , string )
 
void filelib_createDirectory(string path)
 
void filelib_deleteFile(string path)
 
string filelib_expandPathname(string filename)
 
bool filelib_fileExists(string filename)
 
string filelib_getAbsolutePath(string path)
 
string filelib_getCurrentDirectory()
 
string filelib_getDirectoryPathSeparator()
 
string filelib_getSearchPathSeparator()
 
string filelib_getTempDirectory()
 
bool filelib_isDirectory(string filename)
 
bool filelib_isFile(string filename)
 
bool filelib_isSymbolicLink(string filename)
 
void filelib_listDirectory(string path, std::vector< string > &list)
 
void filelib_setCurrentDirectory(string path)
 

Detailed Description

Platform-dependent functions that differ by operating system.

Function Documentation

◆ file_openFileDialog()

string file_openFileDialog ( string   ,
string   ,
string    
)

◆ filelib_createDirectory()

void filelib_createDirectory ( string   path)

◆ filelib_deleteFile()

void filelib_deleteFile ( string   path)

◆ filelib_expandPathname()

string filelib_expandPathname ( string   filename)

◆ filelib_fileExists()

bool filelib_fileExists ( string   filename)

◆ filelib_getAbsolutePath()

string filelib_getAbsolutePath ( string   path)

◆ filelib_getCurrentDirectory()

string filelib_getCurrentDirectory ( )

◆ filelib_getDirectoryPathSeparator()

string filelib_getDirectoryPathSeparator ( )

◆ filelib_getSearchPathSeparator()

string filelib_getSearchPathSeparator ( )

◆ filelib_getTempDirectory()

string filelib_getTempDirectory ( )

◆ filelib_isDirectory()

bool filelib_isDirectory ( string   filename)

◆ filelib_isFile()

bool filelib_isFile ( string   filename)

◆ filelib_isSymbolicLink()

bool filelib_isSymbolicLink ( string   filename)

◆ filelib_listDirectory()

void filelib_listDirectory ( string   path,
std::vector< string > &  list 
)

◆ filelib_setCurrentDirectory()

void filelib_setCurrentDirectory ( string   path)