|
Squid Web Cache master
|
#include <StoreMap.h>
Public Types | |
| typedef C | Item |
| typedef Ipc::Mem::Owner< StoreMapItems< Item > > | Owner |
Public Member Functions | |
| StoreMapItems (const int aCapacity) | |
| size_t | sharedMemorySize () const |
| Item & | at (const int index) |
| const Item & | at (const int index) const |
| void | fill (const Item &value) |
| reset all items to the same value | |
Static Public Member Functions | |
| static size_t | SharedMemorySize (const int aCapacity) |
Public Attributes | |
| const int | capacity |
| total number of items | |
| Ipc::Mem::FlexibleArray< Item > | items |
| storage | |
an array of shareable Items must be the last data member or, if used as a parent class, the last parent
Definition at line 121 of file StoreMap.h.
| typedef C Ipc::StoreMapItems< C >::Item |
Definition at line 124 of file StoreMap.h.
| typedef Ipc::Mem::Owner< StoreMapItems<Item> > Ipc::StoreMapItems< C >::Owner |
Definition at line 125 of file StoreMap.h.
|
inlineexplicit |
Definition at line 127 of file StoreMap.h.
|
inline |
Definition at line 132 of file StoreMap.h.
References assert, Ipc::StoreMapItems< C >::capacity, and Ipc::StoreMapItems< C >::items.
Referenced by Ipc::StoreMapItems< C >::at().
|
inline |
Definition at line 139 of file StoreMap.h.
References Ipc::StoreMapItems< C >::at().
|
inline |
Definition at line 145 of file StoreMap.h.
References Ipc::StoreMapItems< C >::capacity, and Ipc::StoreMapItems< C >::items.
Referenced by Rock::LoadingParts::LoadingParts().
|
inline |
Definition at line 129 of file StoreMap.h.
References Ipc::StoreMapItems< C >::capacity, and Ipc::StoreMapItems< C >::SharedMemorySize().
|
inlinestatic |
Definition at line 130 of file StoreMap.h.
Referenced by Ipc::StoreMapItems< C >::sharedMemorySize().
| const int Ipc::StoreMapItems< C >::capacity |
Definition at line 151 of file StoreMap.h.
Referenced by Ipc::StoreMapItems< C >::at(), Ipc::StoreMapItems< C >::fill(), and Ipc::StoreMapItems< C >::sharedMemorySize().
| Ipc::Mem::FlexibleArray<Item> Ipc::StoreMapItems< C >::items |
Definition at line 152 of file StoreMap.h.
Referenced by Ipc::StoreMapItems< C >::at(), and Ipc::StoreMapItems< C >::fill().