Pyro higlevel API
Public Member Functions | List of all members
os::SeekableIO Class Referenceabstract
Inheritance diagram for os::SeekableIO:
os::StreamableIO os::File os::MemFile os::ResStream os::TempFile

Public Member Functions

virtual ~SeekableIO ()
 
virtual ssize_t ReadPos (off_t nPos, void *pBuffer, ssize_t nSize)=0
 
virtual ssize_t WritePos (off_t nPos, const void *pBuffer, ssize_t nSize)=0
 
virtual off_t Seek (off_t nPos, int nMode)=0
 
- Public Member Functions inherited from os::StreamableIO
virtual ~StreamableIO ()
 
virtual ssize_t Read (void *pBuffer, ssize_t nSize)=0
 
virtual ssize_t Write (const void *pBuffer, ssize_t nSize)=0
 

Detailed Description

Description:
See Also
Author
Kurt Skauen (kurt@.nosp@m.athe.nosp@m.os.cx)

Constructor & Destructor Documentation

SeekableIO::~SeekableIO ( )
virtual

Member Function Documentation

virtual ssize_t os::SeekableIO::ReadPos ( off_t  nPos,
void *  pBuffer,
ssize_t  nSize 
)
pure virtual
virtual off_t os::SeekableIO::Seek ( off_t  nPos,
int  nMode 
)
pure virtual
virtual ssize_t os::SeekableIO::WritePos ( off_t  nPos,
const void *  pBuffer,
ssize_t  nSize 
)
pure virtual

Implemented in os::File, os::ResStream, and os::MemFile.