Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBListBackend Class Reference

TBList is a list (array) of pointers to any kind of objects. More...

#include <tb_list.h>

Public Member Functions

bool Reserve (int num)
 
bool GrowIfNeeded ()
 
bool Add (void *data)
 
bool Add (void *data, int index)
 
void Set (void *data, int index)
 
void * Get (int index) const
 
void * operator[] (int index) const
 
void * RemoveFast (int index)
 
void * Remove (int index)
 
void RemoveAll ()
 
void Swap (int index1, int index2)
 
int Find (void *data) const
 
int GetNumItems () const
 
int GetCapacity () const
 

Detailed Description

TBList is a list (array) of pointers to any kind of objects.

This is the backend for TBListOf and TBListAutoDeleteOf. You should use the typed TBListOf or TBListAutoDeleteOf for object storing!


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