#include <FPShortId.H>
Public Types | |
typedef FP::Tag(* | GetFP )(Bit8 *ptr) |
typedef ShortId(* | GetSid )(Bit8 *ptr) |
Public Member Functions | |
FPShortIdTable (GetFP getfp, GetSid getsid, Bit32 sizeHint=0, double resizeF=2.0, double resizeT=0.7) | |
~FPShortIdTable () | |
ShortId | Get (const FP::Tag &fptag) |
bool | Set (Bit8 *ptr, bool resize=true) |
bool | Resize (Bit32 size) |
Bit32 | Size () |
Bit32 | Entries () |
void | Clear () |
Private Attributes | |
Bit32 | numEntries |
Bit32 | tableSize |
double | resizeTrigger |
double | resizeFactor |
Bit32 * | table |
GetFP | getfp |
GetSid | getsid |
|
Definition at line 33 of file FPShortId.H. |
|
Definition at line 34 of file FPShortId.H. |
|
Definition at line 126 of file FPShortId.C. References NEW_PTRFREE_ARRAY, numEntries, resizeFactor, resizeTrigger, table, and tableSize. |
|
Definition at line 139 of file FPShortId.C. |
|
Definition at line 236 of file FPShortId.C. References numEntries, table, and tableSize. Referenced by DeleteAllFPShortId(). |
|
Definition at line 150 of file FPShortId.C. References numEntries. |
|
Definition at line 183 of file FPShortId.C. References getfp, getsid, FP::Tag::Hash(), VMemPool::lengthenPointer(), NullShortId, table, and tableSize. Referenced by GetFPShortId(). |
|
Definition at line 155 of file FPShortId.C. References VMemPool::lengthenPointer(), NEW_PTRFREE_ARRAY, numEntries, Set(), table, and tableSize. Referenced by Set(). |
|
Definition at line 209 of file FPShortId.C. References getfp, FP::Tag::Hash(), VMemPool::lengthenPointer(), numEntries, Resize(), resizeFactor, resizeTrigger, VMemPool::shortenPointer(), table, and tableSize. Referenced by Resize(), SetFPDirShortId(), and SetFPFileShortId(). |
|
Definition at line 145 of file FPShortId.C. References tableSize. |
|
Definition at line 54 of file FPShortId.H. |
|
Definition at line 55 of file FPShortId.H. Referenced by Get(). |
|
Definition at line 48 of file FPShortId.H. Referenced by Clear(), Entries(), FPShortIdTable(), Resize(), and Set(). |
|
Definition at line 51 of file FPShortId.H. Referenced by FPShortIdTable(), and Set(). |
|
Definition at line 50 of file FPShortId.H. Referenced by FPShortIdTable(), and Set(). |
|
Definition at line 53 of file FPShortId.H. Referenced by Clear(), FPShortIdTable(), Get(), Resize(), Set(), and ~FPShortIdTable(). |
|
Definition at line 49 of file FPShortId.H. Referenced by Clear(), FPShortIdTable(), Get(), Resize(), Set(), Size(), and ~FPShortIdTable(). |