|
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
XMLBuffer Class ReferenceXMLBuffer is a lightweight, expandable Unicode text buffer.
More...
#include <XMLBuffer.hpp>
List of all members.
Detailed Description
XMLBuffer is a lightweight, expandable Unicode text buffer.
Since XML is inherently theoretically unbounded in terms of the sizes of things, we very often need to have expandable buffers. The primary concern here is that appends of characters and other buffers or strings be very fast, so it always maintains the current buffer size.
The buffer is not nul terminated until some asks to see the raw buffer contents. This also avoids overhead during append operations.
Constructor & Destructor Documentation
XMLBuffer::~XMLBuffer (
|
) []
|
|
Member Function Documentation
void XMLBuffer::append (
|
const XMLCh * const chars,
|
|
const unsigned int count = 0 )
|
|
void XMLBuffer::append (
|
XMLCh toAppend ) []
|
|
bool XMLBuffer::getInUse (
|
) []
|
|
unsigned int XMLBuffer::getLen (
|
) const []
|
|
XMLCh * XMLBuffer::getRawBuffer (
|
) []
|
|
const XMLCh * XMLBuffer::getRawBuffer (
|
) const []
|
|
bool XMLBuffer::isEmpty (
|
) []
|
|
void XMLBuffer::reset (
|
) []
|
|
void XMLBuffer::set (
|
const XMLCh * const chars,
|
|
const unsigned int count = 0 )
|
|
void XMLBuffer::setInUse (
|
bool newValue ) []
|
|
Friends And Related Function Documentation
The documentation for this class was generated from the following file:
|