| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
Interface providing write access to a file. More...
#include <IWriteFile.h>
Public Member Functions | |
| virtual const path & | getFileName () const =0 |
| Get name of file. | |
| virtual long | getPos () const =0 |
| Get the current position in the file. | |
| virtual bool | seek (long finalPos, bool relativeMovement=false)=0 |
| Changes position in file. | |
| virtual s32 | write (const void *buffer, u32 sizeToWrite)=0 |
| Writes an amount of bytes to the file. | |
Interface providing write access to a file.
Definition at line 17 of file IWriteFile.h.
| virtual const path& irr::io::IWriteFile::getFileName | ( | ) | const [pure virtual] |
Get name of file.
| virtual long irr::io::IWriteFile::getPos | ( | ) | const [pure virtual] |
Get the current position in the file.
| virtual bool irr::io::IWriteFile::seek | ( | long | finalPos, | |
| bool | relativeMovement = false | |||
| ) | [pure virtual] |
Changes position in file.
| finalPos | Destination position in the file. | |
| relativeMovement | If set to true, the position in the file is changed relative to current position. Otherwise the position is changed from begin of file. |
Writes an amount of bytes to the file.
| buffer | Pointer to buffer of bytes to write. | |
| sizeToWrite | Amount of bytes to write to the file. |
| The Irrlicht
Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated
on Sun Feb 14 13:07:08 2010 by Doxygen
(1.6.2) |