neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
file.hpp File Reference
#include <neolib/neolib.hpp>
#include <memory>
#include <string>
#include <cstdio>
#include <ctime>

Go to the source code of this file.

Classes

class  neolib::simple_file
 

Namespaces

namespace  neolib
 

Functions

NEOLIB_EXPORT std::string neolib::tidy_path (std::string aPath)
 
NEOLIB_EXPORT std::wstring neolib::tidy_path (std::wstring aPath)
 
NEOLIB_EXPORT std::string neolib::convert_path (const std::wstring &aString)
 
NEOLIB_EXPORT std::wstring neolib::convert_path (const std::string &aString)
 
NEOLIB_EXPORT const std::string & neolib::create_path (const std::string &aPath)
 
NEOLIB_EXPORT const std::wstring & neolib::create_path (const std::wstring &aPath)
 
NEOLIB_EXPORT std::string neolib::create_file (const std::string &aFileName)
 
NEOLIB_EXPORT void neolib::create_file (const std::wstring &aFileName)
 
NEOLIB_EXPORT bool neolib::file_exists (const std::string &aPath)
 
NEOLIB_EXPORT bool neolib::file_exists (const std::wstring &aPath)
 
NEOLIB_EXPORT std::time_t neolib::file_date (const std::string &aPath)
 
NEOLIB_EXPORT std::time_t neolib::file_date (const std::wstring &aPath)
 
NEOLIB_EXPORT std::string neolib::file_ext (const std::string &aPath)
 
NEOLIB_EXPORT std::wstring neolib::file_ext (const std::wstring &aPath)
 
NEOLIB_EXPORT bool neolib::can_read_file (const std::string &aPath)
 
NEOLIB_EXPORT bool neolib::can_read_file (const std::wstring &aPath)
 
NEOLIB_EXPORT unsigned long neolib::file_size (const std::string &aPath)
 
NEOLIB_EXPORT unsigned long neolib::file_size (const std::wstring &aPath)
 
NEOLIB_EXPORT unsigned long long neolib::large_file_size (const std::string &aPath)
 
NEOLIB_EXPORT unsigned long long neolib::large_file_size (const std::wstring &aPath)
 
NEOLIB_EXPORT int neolib::large_file_seek (FILE *aStream, long long aOffset, int aOrigin)
 
NEOLIB_EXPORT bool neolib::move_file (const std::string &aPathFrom, const std::string &aPathTo)
 
NEOLIB_EXPORT std::string neolib::program_file ()
 
NEOLIB_EXPORT std::string neolib::program_directory ()
 
NEOLIB_EXPORT std::string neolib::user_documents_directory ()
 
NEOLIB_EXPORT std::string neolib::user_settings_directory ()