99typedef std::shared_ptr<File>
PFile;
int m_OpenFlag
Definition: file.h:96
Status Open(const OsPath &pathName, int openFlag)
Definition: file.h:63
void Close()
Definition: file.h:73
const OsPath & Pathname() const
Definition: file.h:78
int Flags() const
Definition: file.h:88
File(const OsPath &pathname, int oflag)
Definition: file.h:53
OsPath m_PathName
Definition: file.h:94
~File()
Definition: file.h:58
int Descriptor() const
Definition: file.h:83
File()
Definition: file.h:48
int m_FileDescriptor
Definition: file.h:95
void FileClose(int &fd)
Definition: file.cpp:56
Status FileOpen(const OsPath &pathname, int oflag)
Definition: file.cpp:39
std::shared_ptr< File > PFile
Definition: file.h:99
const Status FILE_ACCESS
Definition: file.h:35
const Status FILE_NOT_FOUND
Definition: file.h:36
const Status OK
Definition: status.h:388
#define RETURN_STATUS_IF_ERR(expression)
Definition: status.h:278
#define THROW_STATUS_IF_ERR(expression)
Definition: status.h:313
i64 Status
Error handling system.
Definition: status.h:173