ScummVM API documentation
ImPool< T > Struct Template Reference

Public Member Functions

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)
 

Public Attributes

ImVector< T > Buf
 
ImGuiStorage Map
 
ImPoolIdx FreeIdx
 
ImPoolIdx AliveCount
 

The documentation for this struct was generated from the following file: