#include <basestrm.h>
Inheritance diagram for ASCIIEncodingStream:

Public Member Functions | |
| ASCIIEncodingStream () | |
| virtual void | writedata (const void *buf, int size) |
| writes data to the stream | |
| virtual int | readdata (void *buf, int size, bool excpt=true) |
| Reads data from the stream. | |
| void | put (char c) |
| void | flush () |
| ASCString | getResult () |
Definition at line 557 of file basestrm.h.
| ASCIIEncodingStream::ASCIIEncodingStream | ( | ) |
Definition at line 1737 of file basestrm.cpp.
| void ASCIIEncodingStream::writedata | ( | const void * | buf, | |
| int | size | |||
| ) | [virtual] |
writes data to the stream
| buf | pointer to the buffer | |
| size | the number of bytes which are going to be written |
Implements tnstream.
Definition at line 1739 of file basestrm.cpp.
References put().
Referenced by testStreamEncoding1().
| int ASCIIEncodingStream::readdata | ( | void * | buf, | |
| int | size, | |||
| bool | excpt = true | |||
| ) | [virtual] |
Reads data from the stream.
| buf | the buffer which the data is written to | |
| size | the number of bytes which should be read | |
| excpt | If true the operation will throw an exception if the desired number of bytes cannot be read. |
Implements tnstream.
Definition at line 1744 of file basestrm.cpp.
References tnstream::reading, and tnstream::writing.
| void ASCIIEncodingStream::put | ( | char | c | ) |
Definition at line 1748 of file basestrm.cpp.
References asciiCodingTable.
Referenced by writedata().
| void ASCIIEncodingStream::flush | ( | ) |
Definition at line 1766 of file basestrm.cpp.
References asciiCodingTable.
Referenced by getResult().
| ASCString ASCIIEncodingStream::getResult | ( | ) |
Definition at line 1772 of file basestrm.cpp.
References flush().
Referenced by testStreamEncoding1(), and testStreamEncoding2().
1.5.1