Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cPoolNodeFreeT< TYPE > Class Template Reference

#include <cPool.h>

Public Member Functions

 cPoolNodeFreeT () noexcept
 
 ~cPoolNodeFreeT () noexcept
 
bool isPoolNodeFree () const noexcept
 
TYPEget_Used () const
 
THIS_tget_FreeNext () const
 
void put_FreeNext (THIS_t *pFreeNext)
 

Detailed Description

template<class TYPE>
class GrayLib::cPoolNodeFreeT< TYPE >

a node holder used for 'free' nodes in the PoolClean or 'used' nodes.

Constructor & Destructor Documentation

◆ cPoolNodeFreeT()

template<class TYPE >
GrayLib::cPoolNodeFreeT< TYPE >::cPoolNodeFreeT ( )
inlinenoexcept

◆ ~cPoolNodeFreeT()

template<class TYPE >
GrayLib::cPoolNodeFreeT< TYPE >::~cPoolNodeFreeT ( )
inlinenoexcept

Member Function Documentation

◆ get_FreeNext()

template<class TYPE >
THIS_t* GrayLib::cPoolNodeFreeT< TYPE >::get_FreeNext ( ) const
inline

◆ get_Used()

template<class TYPE >
TYPE* GrayLib::cPoolNodeFreeT< TYPE >::get_Used ( ) const
inline

◆ isPoolNodeFree()

template<class TYPE >
bool GrayLib::cPoolNodeFreeT< TYPE >::isPoolNodeFree ( ) const
inlinenoexcept

for debug purposes.

Note
This will work in both free and used state.

◆ put_FreeNext()

template<class TYPE >
void GrayLib::cPoolNodeFreeT< TYPE >::put_FreeNext ( THIS_t pFreeNext)
inline

Member Data Documentation

◆ m_pFreeNext

template<class TYPE >
THIS_t* GrayLib::cPoolNodeFreeT< TYPE >::m_pFreeNext

union the object in 'free' or 'used' state.

pointer to the next free spot in the list. ('free' state)

◆ m_Used

template<class TYPE >
BYTE GrayLib::cPoolNodeFreeT< TYPE >::m_Used[sizeof(TYPE)]

the TYPE object in 'used' state. assume IPoolNode based.


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