http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Installation
Build

API Docs
Samples
Programming
Migration
FAQs

Releases
Feedback

PDF Document

Download
Dev Snapshots
CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XMLBufferMgr Class Reference

There are many places where XMLBuffer objects are needed. More...

#include <XMLBufferMgr.hpp>

Collaboration diagram for XMLBufferMgr:

List of all members.

Public Methods

XMLBufferbidOnBuffer ()
void releaseBuffer (XMLBuffer& toRelease)
Constructor
 XMLBufferMgr ()
Destructor
 ~XMLBufferMgr ()


Detailed Description

There are many places where XMLBuffer objects are needed.

In order to avoid either constantly creating and destroying them or maintaining a fixed set and worrying about accidental reuse, a buffer manager can provide a pool of buffers which can be temporarily used and then put back into the pool. This provides a good compromise between performance and easier maintenance.


Constructor & Destructor Documentation

XMLBufferMgr::XMLBufferMgr ( )

XMLBufferMgr::~XMLBufferMgr ( )


Member Function Documentation

XMLBuffer& XMLBufferMgr::bidOnBuffer ( )

void XMLBufferMgr::releaseBuffer ( XMLBuffer & toRelease )


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


Copyright © 2000 The Apache Software Foundation. All Rights Reserved.