Cogs.Core
Classes | Public Member Functions | Public Attributes | List of all members
Cogs::IntrusiveList Struct Reference

Classes

struct  Iterator
 

Public Member Functions

Iterator begin ()
 
Iterator end ()
 
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
 

Detailed Description

Definition at line 14 of file IntrusiveList.h.

Constructor & Destructor Documentation

◆ IntrusiveList()

Cogs::IntrusiveList::IntrusiveList ( )

Definition at line 23 of file IntrusiveList.cpp.

Member Function Documentation

◆ back()

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

Definition at line 126 of file IntrusiveList.cpp.

◆ begin()

Iterator Cogs::IntrusiveList::begin ( )
inline

Definition at line 27 of file IntrusiveList.h.

◆ empty()

bool Cogs::IntrusiveList::empty ( ) const

Definition at line 32 of file IntrusiveList.cpp.

◆ end()

Iterator Cogs::IntrusiveList::end ( )
inline

Definition at line 28 of file IntrusiveList.h.

◆ insert()

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

Definition at line 75 of file IntrusiveList.cpp.

◆ popFront()

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

Definition at line 106 of file IntrusiveList.cpp.

◆ pushBack()

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

Definition at line 56 of file IntrusiveList.cpp.

◆ pushFront()

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

Definition at line 37 of file IntrusiveList.cpp.

◆ remove()

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

Definition at line 136 of file IntrusiveList.cpp.

Member Data Documentation

◆ head

IntrusiveNode* Cogs::IntrusiveList::head

Definition at line 23 of file IntrusiveList.h.

◆ tail

IntrusiveNode* Cogs::IntrusiveList::tail

Definition at line 24 of file IntrusiveList.h.

◆ tailPrev

IntrusiveNode* Cogs::IntrusiveList::tailPrev

Definition at line 25 of file IntrusiveList.h.


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