Cogs.Foundation
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
Cogs::IntrusiveList Struct Reference

#include <IntrusiveList.h>

Classes

struct  Iterator
 

Public Member Functions

Iterator begin ()
 
Iterator end ()
 
 IntrusiveList ()
 
bool empty () const
 
void pushFront (IntrusiveNode *node)
 
void pushBack (IntrusiveNode *node)
 
void remove (IntrusiveNode *node)
 
void insert (IntrusiveNode *prev, IntrusiveNode *node)
 
IntrusiveNodepopFront ()
 
IntrusiveNodepopBack ()
 
IntrusiveNodeback ()
 

Public Attributes

IntrusiveNodehead
 
IntrusiveNodetail
 
IntrusiveNodetailPrev
 

Constructor & Destructor Documentation

◆ IntrusiveList()

Cogs::IntrusiveList::IntrusiveList ( )

References head, tail, and tailPrev.

Member Function Documentation

◆ back()

Cogs::IntrusiveNode * Cogs::IntrusiveList::back ( )

◆ begin()

Iterator Cogs::IntrusiveList::begin ( )
inline

◆ empty()

bool Cogs::IntrusiveList::empty ( ) const

◆ end()

Iterator Cogs::IntrusiveList::end ( )
inline

◆ insert()

void Cogs::IntrusiveList::insert ( IntrusiveNode prev,
IntrusiveNode node 
)

◆ popBack()

IntrusiveNode * Cogs::IntrusiveList::popBack ( )

◆ popFront()

Cogs::IntrusiveNode * Cogs::IntrusiveList::popFront ( )

◆ pushBack()

void Cogs::IntrusiveList::pushBack ( IntrusiveNode node)

◆ pushFront()

void Cogs::IntrusiveList::pushFront ( IntrusiveNode node)

◆ remove()

void Cogs::IntrusiveList::remove ( IntrusiveNode node)

Member Data Documentation

◆ head

IntrusiveNode* Cogs::IntrusiveList::head

Referenced by IntrusiveList().

◆ tail

IntrusiveNode* Cogs::IntrusiveList::tail

Referenced by IntrusiveList().

◆ tailPrev

IntrusiveNode* Cogs::IntrusiveList::tailPrev

Referenced by IntrusiveList().


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