#include <OutStreams.h>
Inheritance diagram for OutMemory:


Public Member Functions | |
| OutMemory () | |
| Default constructor. | |
| int | getLength () |
| Returns the number of written bytes. | |
| void * | getMemory () |
| Returns the address of the first byte. | |
Protected Member Functions | |
| void | open (void *mem) |
| opens the stream. | |
| virtual void | writeToStream (const void *p, int size) |
| The function writes a number of bytes into memory. | |
Private Attributes | |
| char * | memory |
| Points to the next byte to write at. | |
| int | length |
| The number of stored bytes. | |
| void * | start |
| Points to the first byte. | |
Definition at line 642 of file OutStreams.h.
|
|
Default constructor.
Definition at line 651 of file OutStreams.h. References start. |
|
|
Returns the number of written bytes.
Definition at line 656 of file OutStreams.h. Referenced by BBInvKinIndividual::dump(). |
|
|
Returns the address of the first byte.
Definition at line 661 of file OutStreams.h. References start. |
|
|
opens the stream.
Definition at line 668 of file OutStreams.h. References start. Referenced by OutBinaryMemory::OutBinaryMemory(), OutTextMemory::OutTextMemory(), and OutTextRawMemory::OutTextRawMemory(). |
|
||||||||||||
|
The function writes a number of bytes into memory.
Implements PhysicalOutStream. Definition at line 676 of file OutStreams.h. |
|
|
Points to the next byte to write at.
Definition at line 645 of file OutStreams.h. |
|
|
The number of stored bytes.
Definition at line 646 of file OutStreams.h. |
|
|
Points to the first byte.
Definition at line 647 of file OutStreams.h. Referenced by getMemory(), open(), and OutMemory(). |
1.3.6