Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

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)
T | 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:

- Box2D/Common/b2GrowableStack.h