Xerces-C++ 3.3.0
|
#include <xercesc/framework/MemBufFormatTarget.hpp>
Public Member Functions | |
constructors and destructor | |
MemBufFormatTarget (XMLSize_t initCapacity=1023, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
~MemBufFormatTarget () | |
virtual void | writeChars (const XMLByte *const toWrite, const XMLSize_t count, XMLFormatter *const formatter) |
getRawBuffer | |
const XMLByte * | getRawBuffer () const |
Returned the internal raw buffer. | |
getLen | |
XMLSize_t | getLen () const |
Returned the length of the raw buffer. | |
Public Member Functions inherited from XMLFormatTarget | |
virtual | ~XMLFormatTarget () |
virtual void | flush () |
Public Member Functions inherited from XMemory | |
void * | operator new (size_t size) |
This method overrides operator new. | |
void * | operator new (size_t size, MemoryManager *memMgr) |
This method defines a custom operator new, that will use the provided memory manager to perform the allocation. | |
void * | operator new (size_t size, void *ptr) |
This method overrides placement operator new. | |
void | operator delete (void *p) |
This method overrides operator delete. | |
void | operator delete (void *p, MemoryManager *memMgr) |
This method provides a matching delete for the custom operator new. | |
void | operator delete (void *p, void *ptr) |
This method provides a matching delete for the placement new. | |
reset | |
void | reset () |
Reset the internal string buffer. | |
Additional Inherited Members | |
Protected Member Functions inherited from XMLFormatTarget | |
XMLFormatTarget () | |
Protected Member Functions inherited from XMemory | |
XMemory () | |
Protected default constructor. | |
MemBufFormatTarget::MemBufFormatTarget | ( | XMLSize_t | initCapacity = 1023, |
MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager ) |
MemBufFormatTarget::~MemBufFormatTarget | ( | ) |
XMLSize_t MemBufFormatTarget::getLen | ( | ) | const |
Returned the length of the raw buffer.
const XMLByte * MemBufFormatTarget::getRawBuffer | ( | ) | const |
Returned the internal raw buffer.
void MemBufFormatTarget::reset | ( | ) |
Reset the internal string buffer.
|
virtual |
Implements XMLFormatTarget.