Neo  0.5.0
Developer Documentation
FileTools.h File Reference

Go to the source code of this file.

Namespaces

 Neo
 

Functions

NEO_CORE_EXPORT bool copyFile (const char *inFilename, const char *outFilename)
 
NEO_CORE_EXPORT bool createDirectory (const char *filename, bool recursive=false)
 
NEO_CORE_EXPORT bool isDirectory (const char *filename)
 
NEO_CORE_EXPORT bool isEmptyDirectory (const char *filename)
 
NEO_CORE_EXPORT bool clearDirectory (const char *filename)
 
NEO_CORE_EXPORT bool removeDirectory (const char *filename)
 
NEO_CORE_EXPORT bool isFileExist (const char *filename)
 
NEO_CORE_EXPORT bool copyDirectory (const char *inFilename, const char *outFilename)
 
NEO_CORE_EXPORT bool readDirectory (const char *filename, vector< string > *files, bool hiddenFiles=false, bool recursive=false)
 
NEO_CORE_EXPORT void copyDirFiles (const char *src, const char *dest, const char *filter)
 
NEO_CORE_EXPORT void Neo::M_registerFileOpenHook (FileOpenHook *hook)
 
NEO_CORE_EXPORT FileOpenHook * Neo::M_getFileOpenHook ()
 
NEO_CORE_EXPORT File * Neo::M_fopen (const char *path, const char *mode)
 
NEO_CORE_EXPORT int Neo::M_fclose (File *stream)
 
NEO_CORE_EXPORT size_t Neo::M_fread (void *dest, size_t size, size_t count, File *stream)
 
NEO_CORE_EXPORT size_t Neo::M_fwrite (const void *str, size_t size, size_t count, File *stream)
 
NEO_CORE_EXPORT int Neo::M_fprintf (File *stream, const char *format,...)
 
NEO_CORE_EXPORT int Neo::M_fseek (File *stream, long offset, int whence)
 
NEO_CORE_EXPORT long Neo::M_ftell (File *stream)
 
NEO_CORE_EXPORT void Neo::M_rewind (File *stream)
 

Function Documentation

NEO_CORE_EXPORT bool clearDirectory ( const char *  filename)
NEO_CORE_EXPORT bool copyDirectory ( const char *  inFilename,
const char *  outFilename 
)
NEO_CORE_EXPORT void copyDirFiles ( const char *  src,
const char *  dest,
const char *  filter 
)
NEO_CORE_EXPORT bool copyFile ( const char *  inFilename,
const char *  outFilename 
)

Collection of file manipulation tools, including File I/O designed to directly replace stdio, using MFile* in place of FILE*.

NEO_CORE_EXPORT bool createDirectory ( const char *  filename,
bool  recursive = false 
)
NEO_CORE_EXPORT bool isDirectory ( const char *  filename)
NEO_CORE_EXPORT bool isEmptyDirectory ( const char *  filename)
NEO_CORE_EXPORT bool isFileExist ( const char *  filename)
NEO_CORE_EXPORT bool readDirectory ( const char *  filename,
vector< string > *  files,
bool  hiddenFiles = false,
bool  recursive = false 
)
NEO_CORE_EXPORT bool removeDirectory ( const char *  filename)