Public Member Functions | Public Attributes | List of all members
ImPool< T > Struct Template Reference

#include <imgui_internal.h>

Public Member Functions

TAdd ()
 
void Clear ()
 
bool Contains (const T *p) const
 
TGetByIndex (ImPoolIdx n)
 
TGetByKey (ImGuiID key)
 
ImPoolIdx GetIndex (const T *p) const
 
TGetOrAddByKey (ImGuiID key)
 
int GetSize () const
 
 ImPool ()
 
void Remove (ImGuiID key, const T *p)
 
void Remove (ImGuiID key, ImPoolIdx idx)
 
void Reserve (int capacity)
 
 ~ImPool ()
 

Public Attributes

ImVector< TBuf
 
ImPoolIdx FreeIdx
 
ImGuiStorage Map
 

Detailed Description

template<typename T>
struct ImPool< T >

Definition at line 390 of file imgui_internal.h.

Constructor & Destructor Documentation

◆ ImPool()

template<typename T >
ImPool< T >::ImPool ( )
inline

Definition at line 396 of file imgui_internal.h.

◆ ~ImPool()

template<typename T >
ImPool< T >::~ImPool ( )
inline

Definition at line 397 of file imgui_internal.h.

Member Function Documentation

◆ Add()

template<typename T >
T* ImPool< T >::Add ( )
inline

Definition at line 404 of file imgui_internal.h.

◆ Clear()

template<typename T >
void ImPool< T >::Clear ( )
inline

Definition at line 403 of file imgui_internal.h.

◆ Contains()

template<typename T >
bool ImPool< T >::Contains ( const T p) const
inline

Definition at line 402 of file imgui_internal.h.

◆ GetByIndex()

template<typename T >
T* ImPool< T >::GetByIndex ( ImPoolIdx  n)
inline

Definition at line 399 of file imgui_internal.h.

◆ GetByKey()

template<typename T >
T* ImPool< T >::GetByKey ( ImGuiID  key)
inline

Definition at line 398 of file imgui_internal.h.

◆ GetIndex()

template<typename T >
ImPoolIdx ImPool< T >::GetIndex ( const T p) const
inline

Definition at line 400 of file imgui_internal.h.

◆ GetOrAddByKey()

template<typename T >
T* ImPool< T >::GetOrAddByKey ( ImGuiID  key)
inline

Definition at line 401 of file imgui_internal.h.

◆ GetSize()

template<typename T >
int ImPool< T >::GetSize ( ) const
inline

Definition at line 408 of file imgui_internal.h.

◆ Remove() [1/2]

template<typename T >
void ImPool< T >::Remove ( ImGuiID  key,
const T p 
)
inline

Definition at line 405 of file imgui_internal.h.

◆ Remove() [2/2]

template<typename T >
void ImPool< T >::Remove ( ImGuiID  key,
ImPoolIdx  idx 
)
inline

Definition at line 406 of file imgui_internal.h.

◆ Reserve()

template<typename T >
void ImPool< T >::Reserve ( int  capacity)
inline

Definition at line 407 of file imgui_internal.h.

Member Data Documentation

◆ Buf

template<typename T >
ImVector<T> ImPool< T >::Buf

Definition at line 392 of file imgui_internal.h.

◆ FreeIdx

template<typename T >
ImPoolIdx ImPool< T >::FreeIdx

Definition at line 394 of file imgui_internal.h.

◆ Map

template<typename T >
ImGuiStorage ImPool< T >::Map

Definition at line 393 of file imgui_internal.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06