Torque2D Reference
Public Member Functions | List of all members
b2GrowableStack< T, N > Class Template Reference

#include <b2GrowableStack.h>

Public Member Functions

 b2GrowableStack ()
 
 ~b2GrowableStack ()
 
void Push (const T &element)
 
Pop ()
 
int32 GetCount ()
 

Detailed Description

template<typename T, int32 N>
class b2GrowableStack< T, N >

This is a growable LIFO stack with an initial capacity of N. If the stack size exceeds the initial capacity, the heap is used to increase the size of the stack.

Constructor & Destructor Documentation

b2GrowableStack ( )
inline
~b2GrowableStack ( )
inline

Member Function Documentation

int32 GetCount ( )
inline
T Pop ( )
inline
void Push ( const T &  element)
inline

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