8 #ifndef MFileSystem_WriteableFile_h 9 #define MFileSystem_WriteableFile_h 57 virtual void Write(
const char* ipString,
size_t iLength = 0) = 0;
62 virtual void Write(
const void* ipData,
size_t iByteLength) = 0;
72 virtual void Flush() = 0;
106 void Unlock()
throw();
150 virtual bool WriteLock(
bool iNoWait) = 0;
164 #endif // MFileSystem_WriteableFile_h DLL_FILE_SYSTEM_EXIM WriteableFile::ReturnPtr OpenWriteableFile(const char *ipPath, IF_COMMIT_AND_CLOSE_WAS_NOT_CALLED iWhatToDoIfCommitAndCloseWasNotCalled)
virtual void Truncate()=0
bool mIsLocked
Definition: WriteableFile.h:113
Definition: WriteableFile.h:24
Definition: WriteableFile.h:32
virtual void WriteLittleEndian(const unsigned Int32 &irValue)=0
Definition: WriteableFile.h:100
friend class WriteSmartLock_NoWait
Definition: WriteableFile.h:148
virtual bool WriteLock(bool iNoWait)=0
WriteableFile * mpWriteableFile
Definition: WriteableFile.h:112
virtual const MBase::TotalTimer & GetWriteTimer() const =0
friend class WriteSmartLock
Definition: WriteableFile.h:147
virtual void WriteUnlock()=0
Definition: WriteableFile.h:132
#define Int32
Definition: BasicTypes.h:20
virtual const MBase::TotalTimer & GetWriteLockTimer() const =0
virtual void Write(const char *ipString, size_t iLength=0)=0
IF_COMMIT_AND_CLOSE_WAS_NOT_CALLED
Definition: WriteableFile.h:19
Definition: GenericFile.h:22
virtual void CommitAndClose()=0
MBase::ReturnPtr< WriteableFile > ReturnPtr
Definition: WriteableFile.h:38
Definition: WriteableFile.h:25
Definition: WriteableFile.h:26
virtual ~WriteableFile()
Definition: WriteableFile.h:41
MBase::StrongPtr< WriteableFile > Ptr
Definition: WriteableFile.h:37
Definition: StrongObjects.h:21
bool IsLocked() const
Definition: WriteableFile.h:139
Definition: ReturnPtr.h:22
#define DLL_FILE_SYSTEM_EXIM
Definition: FileSystem.h:11