![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cList.h>
Public Member Functions | |
| virtual | ~cListNodeBase () |
| cListBase * | get_Parent () const noexcept |
| cListNodeBase * | get_Next () const noexcept |
| cListNodeBase * | get_Prev () const noexcept |
| bool | hasParent () const noexcept |
| void | RemoveFromParent () |
| virtual HRESULT | DisposeThis () |
Public Member Functions inherited from Gray::cHeapObject | |
| cHeapObject () | |
| virtual | ~cHeapObject () |
| bool | IsValidInsideN (INT_PTR index) const |
| bool | IsValidInsidePtr (void const *pTest) const |
| virtual size_t | GetHeapStatsThis (OUT ITERATE_t &iAllocCount) const |
| virtual bool | isValidCheck () const noexcept |
Protected Member Functions | |
| virtual void | put_Parent (cListBase *pParent) |
| cListNodeBase () noexcept | |
Protected Member Functions inherited from Gray::cHeapObject | |
| const void * | get_HeapPtr () const noexcept override |
| Get the top level (outermost, freeable) class pointer. I can delete get_HeapPtr(). More... | |
Friends | |
| class | cListBase |
base class for a single node in a cListBase. derive a class from cListNodeBase to be a node member in a cListBase. Single owner = This item belongs to JUST ONE cListBase (m_pParent) Double linked list. NOT circular. head and tail are nullptr.
|
inlineprotectednoexcept |
|
inlinevirtual |
ASSUME: RemoveFromParent() was already called! (virtuals don't work in destruct!)
|
inlinevirtual |
Pre-destructor cleanup things can be done since virtuals don't work in destructors.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
is this in a list?
|
inlineprotectedvirtual |
I am being added to a list. (or nullptr = no list)
|
inline |
remove ListNode from List.
Remove this(myself) from my parent list (if i have one)
|
friend |