8 #ifndef MFileSystem_FileImpl_h 9 #define MFileSystem_FileImpl_h 22 #define INVALID_HANDLE_VALUE (-1) 41 static void Write(
const char* ipPath,
FileHandle iFileHandle,
const char* ipString,
size_t iLength = 0);
46 static void Write(
const char* ipPath,
FileHandle iFileHandle,
const void* ipBuffer,
size_t iBufferSize);
51 static void Read(
const char* ipPath,
FileHandle iFileHandle,
void* ipBuffer,
size_t iBufferSize);
126 static bool ReadLock(
const char* ipPath,
FileHandle iFileHandle,
bool iNoWait =
false);
137 #endif // MFileSystem_FileImpl_h static void Flush(const char *ipPath, FileHandle iFileHandle)
static void Read(const char *ipPath, FileHandle iFileHandle, void *ipBuffer, size_t iBufferSize)
MDataType::Binary represents binary data.
Definition: Binary.h:33
static Int64 SetPositionToEnd(const char *ipPath, FileHandle iFileHandle)
Definition: FileImpl.h:27
#define Int64
Definition: BasicTypes.h:36
static void CloseAndGroundHandle_NoThrow(FileHandle &irFileHandle)
static Int64 GetPosition(const char *ipPath, FileHandle iFileHandle)
Definition: BigDecimal.h:18
static void Truncate(const char *ipPath, FileHandle iFileHandle)
static Int64 GetSize(const char *ipPath, FileHandle iFileHandle)
static void ReadLine(const char *ipPath, FileHandle iFileHandle, MDataType::Binary &irBinary)
static bool DoesPathMatchFileHandle(const char *ipPath, FileHandle iFileHandle)
static void Write(const char *ipPath, FileHandle iFileHandle, const char *ipString, size_t iLength=0)
static bool WriteLock(const char *ipPath, FileHandle iFileHandle, bool iNoWait=false)
static void Unlock(FileHandle iFileHandle)
static void TruncateFile_ThenCloseAndGroundHandle_NoThrow(FileHandle &irFileHandle)
static bool ReadLock(const char *ipPath, FileHandle iFileHandle, bool iNoWait=false)
static Int64 MovePosition(const char *ipPath, FileHandle iFileHandle, Int64 iOffset)
static void SetPosition(const char *ipPath, FileHandle iFileHandle, Int64 iOffset)
static void CloseAndGroundHandle(const char *ipPath, FileHandle &irFileHandle)
int FileHandle
Definition: FileImpl.h:21
Definition: StrongObjects.h:21