libdodo: dodo::io::stream::channel Class Reference

dodo::io::stream::channel Class Reference

implements an interface for I/O operations on stream sources More...

#include <ioStreamChannel.h>

Inheritance diagram for dodo::io::stream::channel:
Collaboration diagram for dodo::io::stream::channel:

List of all members.

Public Member Functions

 channel (short protection)
 constructor
virtual ~channel ()
 destructor
virtual dodoString read () const
virtual unsigned long write (const dodoString &data) const
virtual dodoString readString () const
 read null- or newline- terminated string
virtual unsigned long writeString (const dodoString &data) const
 write null- terminated string

Detailed Description

implements an interface for I/O operations on stream sources

Definition at line 45 of file ioStreamChannel.h.


Constructor & Destructor Documentation

dodo::io::stream::channel::channel ( short  protection  ) 

constructor

Parameters:
protection defines type of IO protection,
See also:
io::channel::protectionEnum

Reimplemented from dodo::io::channel.

virtual dodo::io::stream::channel::~channel (  )  [virtual]

destructor

Reimplemented from dodo::io::channel.


Member Function Documentation

virtual dodoString dodo::io::stream::channel::read (  )  const [virtual]
Returns:
read data
Note:
not more then bs

Implements dodo::io::channel.

virtual dodoString dodo::io::stream::channel::readString (  )  const [virtual]

read null- or newline- terminated string

Returns:
read data
Note:
not more then bs

Implements dodo::io::channel.

virtual unsigned long dodo::io::stream::channel::write ( const dodoString &  data  )  const [virtual]
Returns:
amount in bytes of successfully written data
Parameters:
data defines data that will be written
Note:
not more then bs

Implements dodo::io::channel.

virtual unsigned long dodo::io::stream::channel::writeString ( const dodoString &  data  )  const [virtual]

write null- terminated string

Returns:
amount in bytes of successfully written data
Parameters:
data defines data that will be written
Note:
not more then bs

Implements dodo::io::channel.


The documentation for this class was generated from the following file:

Generated on Sun Nov 8 03:44:59 2009 for libdodo by  doxygen 1.6.1