18 #ifndef __H__OCULAR_CORE_FILEIO_FILE__H__
19 #define __H__OCULAR_CORE_FILEIO_FILE__H__
21 #include "Utilities/Types.hpp"
48 File(std::string
const fullPath =
"");
54 void setPath(std::string
const fullPath);
164 virtual bool create(
bool createDirectories =
false);
178 std::string m_FullPath;
180 std::string m_Extension;
181 std::string m_Directory;
File(std::string const fullPath="")
Definition: File.cpp:76
bool exists() const
Definition: File.cpp:166
bool isAbsolute() const
Definition: File.cpp:196
time_t getLastModifiedTime() const
Definition: File.cpp:226
bool canRead() const
Definition: File.cpp:171
unsigned getSize() const
Definition: File.cpp:201
std::string getExtension() const
Definition: File.cpp:216
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
void formatForSystem()
Definition: File.cpp:239
bool canWrite() const
Definition: File.cpp:176
bool isDirectory() const
Definition: File.cpp:186
std::string getName() const
Definition: File.cpp:211
bool isFile() const
Definition: File.cpp:181
void refresh()
Definition: File.cpp:114
std::string getDirectory() const
Definition: File.cpp:221
virtual bool create(bool createDirectories=false)
Definition: File.cpp:250
bool isSymLink() const
Definition: File.cpp:191
std::string getFullPath() const
Definition: File.cpp:206
void setPath(std::string const fullPath)
Definition: File.cpp:108