VR-Vantage 2.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 GetSize () const

Public Attributes

ImVector< T > Buf
ImGuiStorage Map
ImPoolIdx FreeIdx

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 ( void  )
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 >::GetSize ( ) const
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

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


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)