Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Poco::NullStreamBuf Class Reference

#include <NullStream.h>

+ Inheritance diagram for Poco::NullStreamBuf:
+ Collaboration diagram for Poco::NullStreamBuf:

Public Member Functions

 NullStreamBuf ()
 
 ~NullStreamBuf ()
 Creates a NullStreamBuf.
 
- Public Member Functions inherited from Poco::BasicUnbufferedStreamBuf< ch, tr >
 BasicUnbufferedStreamBuf ()
 
 ~BasicUnbufferedStreamBuf ()
 
virtual int_type overflow (int_type c)
 
virtual int_type underflow ()
 
virtual int_type uflow ()
 
virtual int_type pbackfail (int_type c)
 
virtual std::streamsize xsgetn (char_type *p, std::streamsize count)
 

Protected Member Functions

int readFromDevice ()
 Destroys the NullStreamBuf.
 
int writeToDevice (char c)
 

Additional Inherited Members

- Protected Types inherited from Poco::BasicUnbufferedStreamBuf< ch, tr >
typedef std::basic_streambuf< ch, trBase
 
typedef std::basic_ios< ch, trIOS
 
typedef ch char_type
 
typedef tr char_traits
 
typedef Base::int_type int_type
 
typedef Base::pos_type pos_type
 
typedef Base::off_type off_type
 
typedef IOS::openmode openmode
 
- Static Protected Member Functions inherited from Poco::BasicUnbufferedStreamBuf< ch, tr >
static int_type charToInt (char_type c)
 

Detailed Description

This stream buffer discards all characters written to it. Any read operation immediately yields EOF.

Definition at line 30 of file NullStream.h.

Constructor & Destructor Documentation

◆ NullStreamBuf()

Poco::NullStreamBuf::NullStreamBuf ( )

◆ ~NullStreamBuf()

Poco::NullStreamBuf::~NullStreamBuf ( )

Creates a NullStreamBuf.

Member Function Documentation

◆ readFromDevice()

int Poco::NullStreamBuf::readFromDevice ( )
protectedvirtual

Destroys the NullStreamBuf.

Reimplemented from Poco::BasicUnbufferedStreamBuf< ch, tr >.

◆ writeToDevice()

int Poco::NullStreamBuf::writeToDevice ( char c)
protected

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