OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Simple template holding pointers to Ts used internally by ObjectWindows Controls. More...
#include <owl/contain.h>
Public Member Functions | |
TCollection (uint aLimit, bool shldDel=true) | |
~TCollection () | |
T & | operator[] (uint index) const |
int | GetCount () const |
int | Append (T *item) |
void | InsertAt (uint index, T *item) |
void | RemoveAt (uint index) |
void | RemoveAll () |
void | FreeAt (uint index) |
void | FreeAll () |
Protected Member Functions | |
void | SetLimit (uint aLimit) |
Simple template holding pointers to Ts used internally by ObjectWindows Controls.
owl::TCollection< T >::TCollection | ( | uint | aLimit, |
bool | shldDel = true ) |
Definition at line 109 of file contain.h.
References owl::TCollection< T >::SetLimit().
owl::TCollection< T >::~TCollection | ( | ) |
int owl::TCollection< T >::Append | ( | T * | item | ) |
void owl::TCollection< T >::FreeAll | ( | ) |
void owl::TCollection< T >::FreeAt | ( | uint | index | ) |
int owl::TCollection< T >::GetCount | ( | ) | const |
void owl::TCollection< T >::InsertAt | ( | uint | index, |
T * | item ) |
Definition at line 156 of file contain.h.
References PRECONDITION.
T & owl::TCollection< T >::operator[] | ( | uint | index | ) | const |
Definition at line 140 of file contain.h.
References PRECONDITION.
void owl::TCollection< T >::RemoveAll | ( | ) |
void owl::TCollection< T >::RemoveAt | ( | uint | index | ) |
Definition at line 170 of file contain.h.
References PRECONDITION.
|
protected |
Definition at line 206 of file contain.h.
References CHECK, and owl::MAXENTRIES.