Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Private Attributes
btGEN_List Class Reference

#include <btList.h>

Collaboration diagram for btGEN_List:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 btGEN_List ()
btGEN_LinkgetHead () const
btGEN_LinkgetTail () const
void addHead (btGEN_Link *link)
void addTail (btGEN_Link *link)

Private Attributes

btGEN_Link m_head
btGEN_Link m_tail

Detailed Description

Definition at line 55 of file btList.h.


Constructor & Destructor Documentation

btGEN_List::btGEN_List ( ) [inline]

Definition at line 57 of file btList.h.

: m_head(&m_tail, 0), m_tail(0, &m_head) {}

Member Function Documentation

void btGEN_List::addHead ( btGEN_Link link) [inline]

Definition at line 62 of file btList.h.

{ link->insertAfter(&m_head); }

Here is the call graph for this function:

void btGEN_List::addTail ( btGEN_Link link) [inline]

Definition at line 63 of file btList.h.

{ link->insertBefore(&m_tail); }

Here is the call graph for this function:

btGEN_Link* btGEN_List::getHead ( ) const [inline]

Definition at line 59 of file btList.h.

{ return m_head.getNext(); } 

Here is the call graph for this function:

btGEN_Link* btGEN_List::getTail ( ) const [inline]

Definition at line 60 of file btList.h.

{ return m_tail.getPrev(); } 

Here is the call graph for this function:


Member Data Documentation

Definition at line 66 of file btList.h.

Definition at line 67 of file btList.h.


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