#include <PdfPagesTreeCache.h>
Public Member Functions | |
PdfPagesTreeCache (int nInitialSize) | |
virtual | ~PdfPagesTreeCache () |
virtual PdfPage * | GetPage (int nIndex) |
virtual void | AddPageObject (int nIndex, PdfPage *pPage) |
virtual void | InsertPage (int nIndex) |
virtual void | DeletePage (int nIndex) |
virtual void | ClearCache () |
|
Construct a new PdfCachedPagesTree.
|
|
Close/down destruct a PdfCachedPagesTree |
|
Add a PdfPage object to the cache
|
|
Clear cache, i.e. remove all elements from the cache. |
|
Delete a PdfPage from the cache
|
|
Return a PdfPage for the specified Page index The returned page is owned by the pages tree and deleted along with it.
|
|
A page was inserted into the pagestree, therefore the cache has to be updated
|