
Public Member Functions | |
| ImPool () | |
| ~ImPool () | |
| T * | GetByKey (ImGuiID key) |
| T * | GetByIndex (ImPoolIdx n) |
| ImPoolIdx | GetIndex (const T *p) const |
| T * | GetOrAddByKey (ImGuiID key) |
| bool | Contains (const T *p) const |
| void | Clear () |
| T * | Add () |
| void | Remove (ImGuiID key, const T *p) |
| void | Remove (ImGuiID key, ImPoolIdx idx) |
| void | Reserve (int capacity) |
| int | GetAliveCount () const |
| int | GetBufSize () const |
| int | GetMapSize () const |
| T * | TryGetMapData (ImPoolIdx n) |
| int | GetSize () |
Public Attributes | |
| ImVector< T > | Buf |
| ImGuiStorage | Map |
| ImPoolIdx | FreeIdx |
| ImPoolIdx | AliveCount |
|
inline |
References AliveCount, and FreeIdx.
References Buf.
Referenced by TryGetMapData().
|
inline |
References AliveCount, Buf, FreeIdx, and Map.
Referenced by ~ImPool().
|
inline |
References AliveCount, Buf, FreeIdx, and IM_PLACEMENT_NEW.
Referenced by GetOrAddByKey().
References GetIndex(), and Remove().
Referenced by Remove().
References AliveCount, Buf, FreeIdx, and Map.
|
inline |
References AliveCount.
|
inline |
References GetByIndex(), and Map.
|
inline |
References GetMapSize().
Referenced by Add(), Clear(), Contains(), GetBufSize(), GetByIndex(), GetByKey(), GetIndex(), GetOrAddByKey(), Remove(), and Reserve().
| ImGuiStorage ImPool< T >::Map |
Referenced by Clear(), GetByKey(), GetMapSize(), GetOrAddByKey(), Remove(), Reserve(), and TryGetMapData().
Referenced by Add(), Clear(), GetOrAddByKey(), ImPool(), and Remove().
Referenced by Add(), Clear(), GetAliveCount(), ImPool(), and Remove().