XMLParserItf CATXMLPPMemoryBuffer

Usage: you must use this class as is. You should never derive it.


public class CATXMLPPMemoryBuffer

Class to implement a variable size memory buffer to store XML content generated in memory.


Constructor and Destructor Index


o CATXMLPPMemoryBuffer(unsigned int)
Constructor.
o ~CATXMLPPMemoryBuffer()
Destructor.

Method Index


o GetBuffer(unsigned char*&,unsigned int&)
Returns a pointer to the internal byte array of the memory buffer.
o Write(unsigned char*,unsigned int)
Asks the memory buffer to store the supplied byte array.

Constructor and Destructor


o CATXMLPPMemoryBuffer
public CATXMLPPMemoryBuffer( iCapacity= 1024)
Constructor.
Parameters:
iCapacity
The initial capacity of the memory buffer.
o ~CATXMLPPMemoryBuffer
public ~CATXMLPPMemoryBuffer()
Destructor.

Methods


o GetBuffer
public GetBuffer( oByteArray,
oByteCount)
Returns a pointer to the internal byte array of the memory buffer.
Parameters:
oByteArray
The byte array.
oByteCount
The size of the byte array.
o Write
public Write( iByteArray,
iByteCount)
Asks the memory buffer to store the supplied byte array.
Parameters:
iByteArray.
The byte array.
iByteCount
The size of the byte array.

This object is included in the file: CATXMLPPMemoryBuffer.h
If needed, your Imakefile.mk should include the module: CatXmlItfBase

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.