Back to index

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

#include <btList.h>

Collaboration diagram for btGEN_Link:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 btGEN_Link ()
 btGEN_Link (btGEN_Link *next, btGEN_Link *prev)
btGEN_LinkgetNext () const
btGEN_LinkgetPrev () const
bool isHead () const
bool isTail () const
void insertBefore (btGEN_Link *link)
void insertAfter (btGEN_Link *link)
void remove ()

Private Attributes

btGEN_Linkm_next
btGEN_Linkm_prev

Detailed Description

Definition at line 20 of file btList.h.


Constructor & Destructor Documentation

btGEN_Link::btGEN_Link ( ) [inline]

Definition at line 22 of file btList.h.

: m_next(0), m_prev(0) {}
btGEN_Link::btGEN_Link ( btGEN_Link next,
btGEN_Link prev 
) [inline]

Definition at line 23 of file btList.h.

: m_next(next), m_prev(prev) {}

Member Function Documentation

btGEN_Link* btGEN_Link::getNext ( ) const [inline]

Definition at line 25 of file btList.h.

{ return m_next; }  

Here is the caller graph for this function:

btGEN_Link* btGEN_Link::getPrev ( ) const [inline]

Definition at line 26 of file btList.h.

{ return m_prev; }  

Here is the caller graph for this function:

void btGEN_Link::insertAfter ( btGEN_Link link) [inline]

Definition at line 38 of file btList.h.

                                       {
        m_next         = link->m_next;
        m_prev         = link;
        m_next->m_prev = this;
        m_prev->m_next = this;
    } 

Here is the caller graph for this function:

void btGEN_Link::insertBefore ( btGEN_Link link) [inline]

Definition at line 31 of file btList.h.

                                        {
        m_next         = link;
        m_prev         = link->m_prev;
        m_next->m_prev = this;
        m_prev->m_next = this;
    } 

Here is the caller graph for this function:

bool btGEN_Link::isHead ( ) const [inline]

Definition at line 28 of file btList.h.

{ return m_prev == 0; }
bool btGEN_Link::isTail ( ) const [inline]

Definition at line 29 of file btList.h.

{ return m_next == 0; }
void btGEN_Link::remove ( ) [inline]

Definition at line 45 of file btList.h.


Member Data Documentation

Definition at line 51 of file btList.h.

Definition at line 52 of file btList.h.


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