Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CL_IODevice Class Reference

#include <iodevice.h>

Inheritance diagram for CL_IODevice:

CL_File CL_TCPConnection List of all members.

Public Types

enum  SeekMode { seek_set, seek_cur, seek_end }
 Enumerations:. More...

Public Member Functions

virtual ~CL_IODevice ()
 Construction:.
virtual int get_size () const
 Attributes:.
virtual int get_position () const
virtual int send (const void *data, int len, bool send_all=true)=0
 Operations:.
virtual int receive (void *data, int len, bool receive_all=true)=0
virtual int peek (void *data, int len)=0
virtual bool seek (int position, SeekMode mode=seek_set)

Member Enumeration Documentation

enum CL_IODevice::SeekMode
 

Enumerations:.

Enumeration values:
seek_set 
seek_cur 
seek_end 

Definition at line 40 of file iodevice.h.


Constructor & Destructor Documentation

virtual CL_IODevice::~CL_IODevice  )  [inline, virtual]
 

Construction:.

Definition at line 49 of file iodevice.h.


Member Function Documentation

virtual int CL_IODevice::get_position  )  const [inline, virtual]
 

Reimplemented in CL_File.

Definition at line 55 of file iodevice.h.

virtual int CL_IODevice::get_size  )  const [inline, virtual]
 

Attributes:.

Reimplemented in CL_File.

Definition at line 53 of file iodevice.h.

virtual int CL_IODevice::peek void *  data,
int  len
[pure virtual]
 

Implemented in CL_File, and CL_TCPConnection.

virtual int CL_IODevice::receive void *  data,
int  len,
bool  receive_all = true
[pure virtual]
 

Implemented in CL_File, and CL_TCPConnection.

virtual bool CL_IODevice::seek int  position,
SeekMode  mode = seek_set
[inline, virtual]
 

Reimplemented in CL_File.

Definition at line 65 of file iodevice.h.

virtual int CL_IODevice::send const void *  data,
int  len,
bool  send_all = true
[pure virtual]
 

Operations:.

Implemented in CL_File, and CL_TCPConnection.


The documentation for this class was generated from the following file:
Generated on Sat Feb 19 22:51:17 2005 for npcore by  doxygen 1.4.1