Public Member Functions | |
unsigned | count (void) |
Get the count of typed objects stored in our hash map. | |
T * | locate (char *name) |
Lookup a typed object by name. | |
T * | map (char *name) |
Create mapped entry from scratch. | |
mapof () | |
Construct an associated pointer hash map based on the class template. | |
T * | operator() (char *name) |
Reference a typed object directly by name. | |
T * | operator[] (char *name) |
unsigned | pages (void) |
Access to number of pages allocated from heap for our associated index pointer. | |
void | purge (void) |
Purge the hash map of typed objects. | |
void | unmap (char *name) |
Remove a name and typed pointer association. | |
unsigned | utilization (void) |
Access to pager utilization stats. |
Definition at line 1085 of file memory.h.
unsigned ucommon::mapof< T, I, M, P >::count | ( | void | ) | [inline] |
Get the count of typed objects stored in our hash map.
Reimplemented from ucommon::keyassoc.
T* ucommon::mapof< T, I, M, P >::locate | ( | char * | name | ) | [inline] |
Lookup a typed object by name.
name | of typed object to locate. |
Reimplemented from ucommon::keyassoc.
T* ucommon::mapof< T, I, M, P >::map | ( | char * | name | ) | [inline] |
T* ucommon::mapof< T, I, M, P >::operator() | ( | char * | name | ) | [inline] |
Reference a typed object directly by name.
name | of typed object to locate. |
Reimplemented from ucommon::keyassoc.
unsigned ucommon::mapof< T, I, M, P >::pages | ( | void | ) | [inline] |
Access to number of pages allocated from heap for our associated index pointer.
This is needed because we inherit keyassoc privately.
Reimplemented from ucommon::memalloc.
void ucommon::mapof< T, I, M, P >::unmap | ( | char * | name | ) | [inline] |
unsigned ucommon::mapof< T, I, M, P >::utilization | ( | void | ) | [inline] |
Access to pager utilization stats.
This is needed because we inherit keyassoc privately.
Reimplemented from ucommon::mempager.