

Dictionary provides reuse of pens that can be selected into different graphics contexts.
Public Member Functions | |
| OOF_PensDict () | |
| virtual | ~OOF_PensDict () |
| void | start () |
| bool | more () const |
| void | next () |
| unsigned long | count () const |
Static Public Member Functions | |
| void | inc (unsigned short) |
| void | dec (unsigned short) |
| unsigned short | findOrCreatePen (const oofColor &matchingColor, HPEN &returnPen) |
| static factory method. | |
Protected Member Functions | |
| virtual void * | AllocBits (unsigned long) const |
| virtual void | DeleteBits (bool becauseExpanding) |
| bool | Invariant () const |
| Guarantee members managing storage are consistent. | |
| unsigned long | AllocSlot () |
| void | ExpandToInclude (unsigned long indexToCover) |
| virtual void * | CloneBits () const |
Protected Attributes | |
| void ** | mUserStorage |
| void * | mBits |
| unsigned long | mNextFreeEntry |
| unsigned long | mNumSlots |
| unsigned long | mInternalIter |
| unsigned long | mSlotSize |
| unsigned int | mExpansionChunk |
|
|
|
|
|
|
|
|
Implements oofArray. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements oofArray. |
|
|
|
|
||||||||||||
|
static factory method.
|
|
|
|
|
|
Guarantee members managing storage are consistent. Note: we assume a user may cause mInternalIter to go out of bounds. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.5