2#ifndef Cpl_Io_File_ObjectApi_h_
3#define Cpl_Io_File_ObjectApi_h_
This abstract class defines the basic additional functionality, beyond that of a stream,...
Definition ObjectApi.h:32
virtual bool setRelativePos(long deltaOffset)=0
Adjusts the current pointer offset by the specified delta (in bytes).
virtual bool setAbsolutePos(unsigned long newoffset)=0
Sets the file pointer to the absolute specified offset (in bytes).
virtual bool currentPos(unsigned long ¤tPos)=0
Returns the current file pointer offset, in bytes, from the top of the file.
virtual bool length(unsigned long &length)=0
Returns the length, in bytes, of the file.
virtual ~ObjectApi()
Virtual destructor.
Definition ObjectApi.h:77
virtual bool isEof()=0
After a read/write operation this method returns true if the file pointer is at EOF.
virtual bool setToEof()=0
Sets the file pointer to End-Of-File.
The 'Cpl' namespace is the root name space for the Colony.
Definition Api16.h:20