Panda3D
Public Member Functions

PhysxObjectCollection< T > Class Template Reference

List of all members.

Public Member Functions

void add (PT(T) object)
T * get (unsigned int index) const
 Returns the n-th PhysxObject in the collection.
void ls (ostream &out, int indent_level=0) const
void ls () const
T * operator[] (unsigned int index) const
 Returns the n-th PhysxObject in the collection.
void remove (PT(T) object)
unsigned int size () const

Detailed Description

template<class T>
class PhysxObjectCollection< T >

Definition at line 27 of file physxObjectCollection.h.


Member Function Documentation

template<class T >
T * PhysxObjectCollection< T >::get ( unsigned int  index) const [inline]

Returns the n-th PhysxObject in the collection.

The operator [] is maybe a more convenient way to access objects from the collection.

Definition at line 69 of file physxObjectCollection.I.

template<class T >
T * PhysxObjectCollection< T >::operator[] ( unsigned int  index) const [inline]

Returns the n-th PhysxObject in the collection.

This is the same as the get() method.

Definition at line 83 of file physxObjectCollection.I.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations