Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Public Attributes | Private Member Functions
Physics::CollisionList Class Reference
Inheritance diagram for Physics::CollisionList:
Inheritance graph
[legend]
Collaboration diagram for Physics::CollisionList:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void push_back (const UserPointer *a, const UserPointer *b)

Public Attributes

elements
 STL member.

Private Member Functions

void push_back (CollisionPair p)

Detailed Description

Definition at line 76 of file physics.hpp.


Member Function Documentation

void Physics::CollisionList::push_back ( CollisionPair  p) [inline, private]

Definition at line 78 of file physics.hpp.

                                        {
            // only add a pair if it's not already in there
            for(iterator i=begin(); i!=end(); i++) {
                if((*i)==p) return;
            }
            std::vector<CollisionPair>::push_back(p);
        };   // push_back

Here is the caller graph for this function:

void Physics::CollisionList::push_back ( const UserPointer a,
const UserPointer b 
) [inline]

Definition at line 86 of file physics.hpp.

                                                                  {
            push_back(CollisionPair(a, b));
        }

Here is the call graph for this function:


Member Data Documentation

template<typename T>
T std::vector< T >::elements [inherited]

STL member.


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