Template class to contain an array of items. More...
#include <fbarray.h>

Public Member Functions | |
| FBArrayTemplate (int pItemPerBlock=10) | |
| Constructor. More... | |
| FBArrayTemplate (const FBArrayTemplate< Type > &pArrayTemplate) | |
| Copy constructor. More... | |
| ~FBArrayTemplate () | |
| Destructor. More... | |
| int | InsertAt (int pIndex, Type pItem) |
| Insert pItem at pIndex. More... | |
| void | RemoveAt (int pIndex) |
| Remove item at pIndex. More... | |
| void | RemoveLast () |
| Remove the last item in the array. More... | |
| bool | Remove (Type &pItem) |
| Remove pItem from the array. More... | |
| bool | RemoveIt (Type pItem) |
| Remove pItem from the array. More... | |
| void | Clear () |
| Empty the array of all items. More... | |
| Type & | operator[] (int pIndex) const |
| [] operator overload. More... | |
| void | SetAt (int pIndex, Type pItem) |
| Set item at pIndex to pItem. More... | |
| void | SetLast (Type pItem) |
| Set the last item of the array. More... | |
| int | GetCount () const |
| Get the number of items in the array. More... | |
| void | SetCount (int pCount) |
| Set the number of items in the array. More... | |
| Type | GetAt (int pIndex) |
| Get item at pIndex. More... | |
| Type | GetLast () |
| Get last item of the array. More... | |
| int | Find (Type pItem) |
| Find the index of pItem in the array. More... | |
| int | Add (Type pItem) |
| Add an item to the end of the array. More... | |
| Type * | GetArray () |
| Get a pointer to the array of items. More... | |
| FBArrayTemplate< Type > & | operator= (const FBArrayTemplate< Type > &pArrayTemplate) |
| Copy array of pointers without copying the associated objects. More... | |
Template class to contain an array of items.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get the number of items in the array.
Definition at line 227 of file fbarray.h.
Referenced by FBArrayTemplate< FBConsoleChannel * >::operator=().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |