5 #ifndef __I_WRITE_FILE_H_INCLUDED__ 6 #define __I_WRITE_FILE_H_INCLUDED__ 24 virtual s32 write(
const void* buffer,
u32 sizeToWrite) = 0;
32 virtual bool seek(
long finalPos,
bool relativeMovement =
false) = 0;
36 virtual long getPos()
const = 0;
IWriteFile * createWriteFile(const io::path &fileName, bool append)
Internal function, please do not use.
virtual long getPos() const =0
Get the current position in the file.
virtual const path & getFileName() const =0
Get name of file.
Everything in the Irrlicht Engine can be found in this namespace.
Interface providing write access to a file.
signed int s32
32 bit signed variable.
virtual s32 write(const void *buffer, u32 sizeToWrite)=0
Writes an amount of bytes to the file.
unsigned int u32
32 bit unsigned variable.
Base class of most objects of the Irrlicht Engine.
virtual bool seek(long finalPos, bool relativeMovement=false)=0
Changes position in file.