|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::io::MemWriter Class Reference#include <MemWriter.h>
Inheritance diagram for acdk::io::MemWriter:
List of all members.
Detailed Description
Provides a Writer interface to byteArray.
API: ACDK<br/>
- Deprecated:
- use ByteBufferWriter
- Author:
- Roger Rene Kommer (mailto:kommer@artefaktur.com)
- Version:
- Revision
- 1.20
- Date:
- Date
- 2005/04/09 19:26:45
Constructor & Destructor Documentation
acdk::io::MemWriter::MemWriter |
( |
IN(RbyteArray) |
buffer |
) |
[inline] |
|
Member Function Documentation
virtual void acdk::io::MemWriter::close |
( |
|
) |
[inline, virtual] |
|
void acdk::io::MemWriter::ensureCapacity |
( |
int |
size |
) |
[inline] |
|
virtual void acdk::io::MemWriter::flush |
( |
|
) |
[inline, virtual] |
|
virtual RbyteArray acdk::io::MemWriter::getBuffer |
( |
|
) |
[inline, virtual] |
|
RcharArray acdk::io::MemWriter::getBufferAsChars |
( |
|
) |
|
|
virtual RString acdk::io::MemWriter::getDeviceName |
( |
|
) |
[inline, virtual] |
|
virtual bool acdk::io::MemWriter::isReadable |
( |
|
) |
[inline, virtual] |
|
virtual bool acdk::io::MemWriter::isWriteable |
( |
|
) |
[inline, virtual] |
|
virtual void acdk::io::MemWriter::write |
( |
IN(RbyteArray) |
ch, |
|
|
int |
offset = 0, |
|
|
int |
len = -1 |
|
) |
[inline, virtual] |
|
|
default implementation: return write(ch->data(), offset, len == -1 ? ch->length() - offset : len);
Reimplemented from acdk::io::AbstractWriter. |
virtual void acdk::io::MemWriter::write |
( |
const byte * |
cstr, |
|
|
int |
offset, |
|
|
int |
len |
|
) |
[virtual] |
|
virtual void acdk::io::MemWriter::write |
( |
byte |
c |
) |
[inline, virtual] |
|
|
default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);
Implements acdk::io::AbstractWriter. |
Member Data Documentation
|
|