8 #ifndef MFileSystem_UpdateableFileImpl_h 9 #define MFileSystem_UpdateableFileImpl_h 13 #include "../UpdateableFile.h" 36 virtual const char*
GetPath()
const;
59 virtual void Read(
void* ipBuffer,
size_t iBufferSize);
85 virtual void Write(
const char* ipString,
size_t iLength);
88 virtual void Write(
const void* ipData,
size_t iByteLength);
118 const std::string mPath;
124 bool mPositionUndefined;
140 #endif // MFileSystem_UpdateableFileImpl_h virtual void WriteLittleEndian(const unsigned Int32 &irValue)
virtual void SetPosition(Int64 iOffset)
MDataType::Binary represents binary data.
Definition: Binary.h:33
virtual Int64 GetPosition() const
virtual const MBase::TotalTimer & GetReadTimer() const
virtual Int64 GetSize() const
Definition: UpdateableFile.h:19
UpdateableFileImpl(const char *ipPath, IF_COMMIT_AND_CLOSE_WAS_NOT_CALLED iWhatToDoIfCommitAndCloseWasNotCalled)
#define Int64
Definition: BasicTypes.h:36
virtual void ReadLine(MDataType::Binary &irBinary)
Definition: UpdateableFileImpl.h:22
virtual const MBase::TotalTimer & GetWriteLockTimer() const
virtual bool IsAccessibleViaPath() const
virtual bool ReadLock(bool iNoWait)
virtual ~UpdateableFileImpl()
Definition: InprocessFileLocker.h:41
#define Int32
Definition: BasicTypes.h:20
virtual void WriteUnlock()
virtual const MBase::TotalTimer & GetReadLockTimer() const
virtual void Write(const char *ipString, size_t iLength)
virtual bool WriteLock(bool iNoWait)
IF_COMMIT_AND_CLOSE_WAS_NOT_CALLED
Definition: WriteableFile.h:19
virtual void MovePosition(Int64 iOffset)
virtual void ReadLittleEndian(unsigned Int32 &orValue)
virtual void CommitAndClose()
virtual Int64 SetPositionToEnd()
virtual void ReadUnlock()
virtual void Read(void *ipBuffer, size_t iBufferSize)
virtual const char * GetPath() const
int FileHandle
Definition: FileImpl.h:21
virtual const MBase::TotalTimer & GetWriteTimer() const
Definition: StrongObjects.h:21