Xerces-C++ 3.2.4

List of all members
MemBufFormatTarget Class Reference

`#include <xercesc/framework/MemBufFormatTarget.hpp>`

Inheritance diagram for MemBufFormatTarget:

## 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. More...
getLen
XMLSize_t | getLen () const
| Returned the length of the raw buffer. More...
Public Member Functions inherited from XMLFormatTarget
virtual | ~XMLFormatTarget ()
virtual void | writeChars (const XMLByte *const toWrite, const XMLSize_t count, XMLFormatter *const formatter)=0
virtual void | flush ()
Public Member Functions inherited from XMemory
void * | operator new (size_t size)
| This method overrides operator new. More...
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. More...
void * | operator new (size_t size, void *ptr)
| This method overrides placement operator new. More...
void | operator delete (void *p)
| This method overrides operator delete. More...
void | operator delete (void *p, MemoryManager *memMgr)
| This method provides a matching delete for the custom operator new. More...
void | operator delete (void *p, void *ptr)
| This method provides a matching delete for the placement new. More...

## reset
void | reset ()
| Reset the internal string buffer. More...

## Additional Inherited Members
Protected Member Functions inherited from XMLFormatTarget
| XMLFormatTarget ()
Protected Member Functions inherited from XMemory
| XMemory ()
| Protected default constructor. More...

## Constructor & Destructor Documentation

## ◆ MemBufFormatTarget()

MemBufFormatTarget::MemBufFormatTarget | ( | XMLSize_t | initCapacity = `1023`,
|  | MemoryManager *const | manager = `XMLPlatformUtils::fgMemoryManager`
| ) |  |

## ◆ ~MemBufFormatTarget()

MemBufFormatTarget::~MemBufFormatTarget | ( |  | ) |

## Member Function Documentation

## ◆ getLen()

XMLSize_t MemBufFormatTarget::getLen | ( |  | ) | const

Returned the length of the raw buffer.

## ◆ getRawBuffer()

const XMLByte * MemBufFormatTarget::getRawBuffer | ( |  | ) | const

Returned the internal raw buffer.

## ◆ reset()

void MemBufFormatTarget::reset | ( |  | ) |

Reset the internal string buffer.

## ◆ writeChars()

virtual void MemBufFormatTarget::writeChars | ( | const XMLByte *const | toWrite,
|  | const XMLSize_t | count,
|  | XMLFormatter *const | formatter
| ) |  |
| virtual

Implements XMLFormatTarget.

The documentation for this class was generated from the following file:

- MemBufFormatTarget.hpp