|
Ipelib
|
Abstract base class for output streams. More...
#include <ipebase.h>
Inherited by ipe::A85Stream, ipe::Base64Stream, ipe::DeflateStream, ipe::TellStream, and PercentStream.
Abstract base class for output streams.
| Stream::~Stream | ( | ) | [virtual] |
Virtual destructor.
| virtual void ipe::Stream::putChar | ( | char | ch | ) | [pure virtual] |
Output character.
Implemented in ipe::StringStream, ipe::FileStream, ipe::A85Stream, ipe::Base64Stream, and ipe::DeflateStream.
| void Stream::close | ( | ) | [virtual] |
Close the stream. No more writing allowed!
Reimplemented in ipe::A85Stream, ipe::Base64Stream, and ipe::DeflateStream.
| void Stream::putString | ( | String | s | ) | [virtual] |
Output string.
Default implementation uses PutChar.
Reimplemented in ipe::StringStream, and ipe::FileStream.
| void Stream::putCString | ( | const char * | s | ) | [virtual] |
Output C string.
Default implementation uses PutChar.
Reimplemented in ipe::StringStream, and ipe::FileStream.
| void Stream::putRaw | ( | const char * | data, |
| int | size | ||
| ) | [virtual] |
Output raw character data.
Default implementation uses PutChar.
Reimplemented in ipe::StringStream, and ipe::FileStream.
| Stream& ipe::Stream::operator<< | ( | char | ch | ) | [inline] |
Output character.
| Stream& ipe::Stream::operator<< | ( | const char * | s | ) | [inline] |
Output C string.
| Stream & Stream::operator<< | ( | int | i | ) |
Output integer.
| Stream & Stream::operator<< | ( | double | d | ) |
Output double.
| void Stream::putHexByte | ( | char | b | ) |
Output byte in hexadecimal.
| void Stream::putXmlString | ( | String | s | ) |
Save a string with XML escaping of &, >, <, ", '.