VCF::TextOutputStream Class Reference
The TextOutputStream is used for writing data from another stream as text. More...
#include <vcf/FoundationKit/TextOutputStream.h>
Inheritance diagram for VCF::TextOutputStream:

Public Member Functions | |
| TextOutputStream (OutputStream *outStream) | |
| TextOutputStream () | |
| virtual | ~TextOutputStream () |
| virtual void | seek (const uint64 &offset, const SeekType &offsetFrom) |
| virtual uint64 | getSize () |
| returns the size of the stream. | |
| virtual uchar * | getBuffer () |
| returns a pointer to the buffer that holds the stream memory | |
| virtual uint64 | getCurrentSeekPos () |
| this is a global offset from the beggining of the stream | |
| virtual uint64 | write (const unsigned char *bytesToRead, uint64 sizeOfBytes) |
| virtual void | write (const short &val) |
| all numbers are written out as the number converted to text, followed by a space character ( ' ' ), so the value 2 becomes "2 " | |
| virtual void | write (const long &val) |
| virtual void | write (const int &val) |
| virtual void | write (const bool &val) |
| virtual void | write (const float &val) |
| virtual void | write (const double &val) |
| virtual void | write (const String &val) |
| virtual void | write (Persistable *val) |
| void | init () |
| void | writeLine (const String &line) |
| String | getTextBuffer () |
| virtual String | toString () const |
Detailed Description
The TextOutputStream is used for writing data from another stream as text.
Constructor & Destructor Documentation
|
|
|
|
|
|
|
|
|
Member Function Documentation
|
|
returns a pointer to the buffer that holds the stream memory
Implements VCF::Stream. |
|
|
this is a global offset from the beggining of the stream
Implements VCF::Stream. |
|
|
returns the size of the stream. The size represents the number of bytes that have been written, or read to/from the stream Implements VCF::Stream. |
|
|
|
|
|
|
|
||||||||||||
|
Implements VCF::Stream. |
|
|
|
|
|
Reimplemented from VCF::OutputStream. |
|
|
Reimplemented from VCF::OutputStream. |
|
|
Reimplemented from VCF::OutputStream. |
|
|
Reimplemented from VCF::OutputStream. |
|
|
Reimplemented from VCF::OutputStream. |
|
|
Reimplemented from VCF::OutputStream. |
|
|
Reimplemented from VCF::OutputStream. |
|
|
all numbers are written out as the number converted to text, followed by a space character ( ' ' ), so the value 2 becomes "2 "
Reimplemented from VCF::OutputStream. |
|
||||||||||||
|
Implements VCF::OutputStream. |
|
|
|
The documentation for this class was generated from the following file:
- vcf/FoundationKit/TextOutputStream.h
