5#ifndef JPP_I_WRITE_FILE_HPP_INCLUDED
6#define JPP_I_WRITE_FILE_HPP_INCLUDED
8#include <jimcpp/core/engine/IReferenceCounted.hpp>
9#include <jimcpp/core/engine/path.hpp>
24 virtual size_t write(
const void* buffer,
size_t sizeToWrite) = 0;
32 virtual bool seek(
long finalPos,
bool relativeMovement =
false) = 0;
Base class of most objects of the Jimcpp Engine.
Definition IReferenceCounted.hpp:46
Interface providing write access to a file.
Definition IWriteFile.hpp:18
virtual size_t write(const void *buffer, size_t sizeToWrite)=0
Writes an amount of bytes to the file.
virtual bool seek(long finalPos, bool relativeMovement=false)=0
Changes position in file.
virtual const path & getFileName() const =0
Get name of file.
virtual long getPos() const =0
Get the current position in the file.
virtual bool flush()=0
Flush the content of the buffer in the file.
As of Jimcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11