Oncaphillis::Ligh++pd

lighttpd::IO::chunked_device Class Reference

#include <src/ligh++pd/io/chunked_device.h>

Inherits device< char >.


Detailed Description

A device ready to be plugged into a niftyLib::IO::device_streambuf This one is needed to read/write from/to the lighttpd specific chunkedqueue data queues.

See also:
niftyLib::IO::device_streambuf

Public Types

typedef super::char_type char_type
 Definition of the type of character transported by the device.
typedef super::traits_type traits_type
 These Traits define the characteristics of the character type transorted by this device.

Public Member Functions

 chunked_device (::chunkqueue *q)
virtual ~chunked_device ()
virtual std::streamsize write (const char_type *c, std::streamsize n) throw (Exception)
virtual std::streamsize read (char_type *c, std::streamsize n) throw (Exception)

Member Typedef Documentation

Definition of the type of character transported by the device.

This public definitipn is expected to exist if one likes to associate the fd_device with a device_streambuf.

See also:
device_streambuf

Reimplemented from niftyLib::IO::device< char >.

These Traits define the characteristics of the character type transorted by this device.

As in std::basic_string it defaults to std::char_traits<CharT>.

This typedef is expected by device_streambuf in order to make the device associatable with the streambuf.

See also:
device_streambuf

Reimplemented from niftyLib::IO::device< char >.


Constructor & Destructor Documentation

lighttpd::IO::chunked_device::chunked_device ( ::chunkqueue *  q  ) 

References NULL.

lighttpd::IO::chunked_device::~chunked_device (  )  [virtual]


Member Function Documentation

std::streamsize lighttpd::IO::chunked_device::write ( const char_type c,
std::streamsize  n 
) throw (Exception) [virtual]

References NULL.

std::streamsize lighttpd::IO::chunked_device::read ( char_type c,
std::streamsize  n 
) throw (Exception) [virtual]

References NULL.


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

Generated by  doxygen
© 2008; Dr. Sebastian Kloska ( Oncaphillis )
Powered by: [?]