VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
ImPool< T > Struct Template Reference
Inheritance diagram for ImPool< T >:
Inheritance graph
[legend]

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
 

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename T>
T* ImPool< T >::GetByKey ( ImGuiID  key)
inline
template<typename T>
T* ImPool< T >::GetByIndex ( ImPoolIdx  n)
inline
template<typename T>
ImPoolIdx ImPool< T >::GetIndex ( const T *  p) const
inline
template<typename T>
T* ImPool< T >::GetOrAddByKey ( ImGuiID  key)
inline
template<typename T>
bool ImPool< T >::Contains ( const T *  p) const
inline
template<typename T>
void ImPool< T >::Clear ( )
inline
template<typename T>
T* ImPool< T >::Add ( )
inline
template<typename T>
void ImPool< T >::Remove ( ImGuiID  key,
const T *  p 
)
inline
template<typename T>
void ImPool< T >::Remove ( ImGuiID  key,
ImPoolIdx  idx 
)
inline
template<typename T>
void ImPool< T >::Reserve ( int  capacity)
inline
template<typename T>
int ImPool< T >::GetAliveCount ( ) const
inline
template<typename T>
int ImPool< T >::GetBufSize ( ) const
inline
template<typename T>
int ImPool< T >::GetMapSize ( ) const
inline
template<typename T>
T* ImPool< T >::TryGetMapData ( ImPoolIdx  n)
inline
template<typename T>
int ImPool< T >::GetSize ( )
inline

Member Data Documentation

template<typename T>
ImVector<T> ImPool< T >::Buf
template<typename T>
ImGuiStorage ImPool< T >::Map
template<typename T>
ImPoolIdx ImPool< T >::FreeIdx
template<typename T>
ImPoolIdx ImPool< T >::AliveCount

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)