#include <GContainers.h>

Public Member Functions | |
| GStringPipe (int PreAlloc=-1) | |
| Constructs the object. | |
| virtual int | Pop (char *Str, int BufSize) |
| Removes a utf-8 line of text from the container. | |
| virtual int | Push (char *Str, int Len=-1) |
| Inserts a utf-8 string into the container. | |
| virtual int | Push (char16 *Str, int Len=-1) |
| Inserts a wide char string into the container. | |
| char * | NewStr () |
| Creates a null terminated utf-8 string out of the classes contents. | |
| char16 * | NewStrW () |
| Creates a null terminated wide character string out of the classes contents. | |
| GStringPipe::GStringPipe | ( | int | PreAlloc = -1 |
) | [inline] |
Constructs the object.
| PreAlloc | Number of bytes to allocate per block. |
| int GStringPipe::Pop | ( | char * | Str, | |
| int | BufSize | |||
| ) | [virtual] |
Removes a utf-8 line of text from the container.
| Str | The output buffer |
| BufSize | The size of the buffer |
References GBytePipe::Block::Next, GBytePipe::Block::Ptr(), and GBytePipe::Block::Used.
| int GStringPipe::Push | ( | char16 * | Str, | |
| int | Len = -1 | |||
| ) | [virtual] |
Inserts a wide char string into the container.
| Str | The string |
| Len | The length in characters |
References GBytePipe::Write().
| int GStringPipe::Push | ( | char * | Str, | |
| int | Len = -1 | |||
| ) | [virtual] |
Inserts a utf-8 string into the container.
| Str | The string |
| Len | The length in bytes |
References GBytePipe::Write().
Referenced by GDragDropSource::CreateFileDrop(), GXmlTree::DecodeEntities(), LgiDecodeUri(), LgiEncodeUri(), GList::OnKey(), Html2::GHtml2::OnMouseClick(), GHtml::OnMouseClick(), and GProcess::Run().
1.5.7.1