FileOpenerBase::OpenFileEx

FileOpenerBase::OpenFileEx
virtual File* OpenFileEx(const char* purl, Log * plog, int flags = FileConstants::Open_Read|FileConstants::Open_Buffered, int mode = FileConstants::Mode_ReadWrite) = 0;
Description

OpenFileEx opens file with customizable log by relying on OpenFile. If not null, the log will receive error messages on failure.

Parameters
Parameters 
Description 
const char* purl 
Url to the file. The url should be encoded as UTF-8 to support international file names. 
Log * plog 
Pointer to the log to receive error messages. 
int flags = FileConstants::Open_Read|FileConstants::Open_Buffered 
Flags set for opening file with buffering. See FileConstants::OpenFlags
int mode = FileConstants::Mode_ReadWrite 
Flags set for performing file operations. See FileConstants::Modes
Return Value

A File pointer to the opened file.