#include <SVG.h>
Inheritance diagram for StackNodePool:

Public Member Functions | |
| StackNodePool () | |
| Constructor. | |
| bool | init (int aInitialSize, int aIncrement) |
| Initializer. | |
| virtual | ~StackNodePool () |
| Virtual destructor. | |
| StackNode * | get () |
| Returns a new stack node from the pool. | |
| void | put (StackNode *aNode) |
| Puts a stack node back to the pool. | |
| void | putNodes (StackNode *aNode) |
| Puts the stack node and all its siblings back to the pool. | |
Protected Member Functions | |
| bool | grow (int aSize) |
| Enlarges the pool by aSize. | |
| virtual StackNode * | createNode ()=0 |
| Virtual method for implementations for creating the nodes. | |
Protected Attributes | |
| int | mGrowIncrement |
| StackNode * | mFirst |
|
|
Constructor.
|
|
|
Virtual destructor.
|
|
|
Virtual method for implementations for creating the nodes.
Implemented in SVGStackNodeTransformationPool, SVGStackNodePaintPool, and SVGStackNodeFillRulePool. |
|
|
Returns a new stack node from the pool.
|
|
|
Enlarges the pool by aSize.
|
|
||||||||||||
|
Initializer.
|
|
|
Puts a stack node back to the pool.
|
|
|
Puts the stack node and all its siblings back to the pool.
|
|
|
|
|
|
|
1.4.6-NO