Ball and Spring Toy
Chapter 4 of Ian Parberry's "Introduction to Game Physics with Box2D"
 All Classes Files Functions Variables Enumerations Pages
Public Member Functions | Protected Attributes | List of all members
CAbstractList< thing > Class Template Reference

The abstract list. More...

#include <AbstractList.h>

Public Member Functions

 CAbstractList (int size)
 Constructor.
 
 ~CAbstractList ()
 Destructor.
 
BOOL Insert (thing *newthing)
 Insert new thing.
 
thing * create ()
 Create and insert new thing.
 
void clear ()
 Clear the list.
 

Protected Attributes

thing ** m_pList
 List of things.
 
int m_nCount
 How many things in list.
 
int m_nSize
 Maximum size of list.
 

Detailed Description

template<class thing>
class CAbstractList< thing >

The abstract list.