5 #ifndef __I_WRITE_FILE_H_INCLUDED__ 6 #define __I_WRITE_FILE_H_INCLUDED__ 24 virtual size_t write(
const void*
buffer,
size_t sizeToWrite) = 0;
32 virtual bool seek(
long finalPos,
bool relativeMovement =
false) = 0;
36 virtual long getPos()
const = 0;
44 virtual bool flush() = 0;
virtual long getPos() const =0
Get the current position in the file.
virtual const path & getFileName() const =0
Get name of file.
virtual size_t write(const void *buffer, size_t sizeToWrite)=0
Writes an amount of bytes to the file.
Everything in the Irrlicht Engine can be found in this namespace.
Interface providing write access to a file.
Base class of most objects of the Irrlicht Engine.
virtual bool seek(long finalPos, bool relativeMovement=false)=0
Changes position in file.
virtual bool flush()=0
Flush the content of the buffer in the file.