Mixes for Privacy and Anonymity in the Internet
|
Public Member Functions | |
MemFormatTarget () | |
virtual | ~MemFormatTarget () |
virtual void | writeChars (const XMLByte *const toWrite, const unsigned int count, XMLFormatter *const) |
SINT32 | dumpMem (UINT8 *buff, UINT32 *size) |
Copys the XML-chars into buff. More... | |
UINT8 * | dumpMem (UINT32 *size, OUTPUT_FORMAT a_outputFormat) |
Returns a Copy of the XML-chars. More... | |
Private Attributes | |
CAQueue * | m_pQueue |
UINT8 * | m_Buff |
UINT32 | m_aktIndex |
MemFormatTarget::MemFormatTarget | ( | ) |
References m_aktIndex, m_Buff, m_pQueue, and MEM_FORMART_TARGET_SPACE.
UINT8* MemFormatTarget::dumpMem | ( | UINT32 * | size, |
OUTPUT_FORMAT | a_outputFormat | ||
) |
Returns a Copy of the XML-chars.
size | on return contains the number of XML-Chars copied |
a_outputFormat | defines an output format for the generated character array |
References CAQueue::add(), E_SUCCESS, CAQueue::getSize(), m_aktIndex, m_Buff, m_pQueue, OF_NEWLINE, OF_NULL_TERMINATED, and CAQueue::peek().
Copys the XML-chars into buff.
buff | buffer in which to copy the XML-chars |
size | contains the size of buff, on return contains the number of XML-CHars copied |
References CAQueue::add(), E_SPACE, E_SUCCESS, E_UNKNOWN, m_aktIndex, m_Buff, m_pQueue, and CAQueue::peek().
Referenced by DOM_Output::dumpToMem(), and DOM_Output::makeCanonical().
|
virtual |
References CAQueue::add(), m_aktIndex, m_Buff, m_pQueue, and MEM_FORMART_TARGET_SPACE.
|
private |
Referenced by dumpMem(), MemFormatTarget(), and writeChars().
|
private |
Referenced by dumpMem(), MemFormatTarget(), writeChars(), and ~MemFormatTarget().
|
private |
Referenced by dumpMem(), MemFormatTarget(), writeChars(), and ~MemFormatTarget().