|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/template.h>
Public Types | |
| typedef void(* | IterFunc) (T &, void *) |
| typedef bool(* | CondFunc) (const T &, void *) |
| typedef TBaseListIterator< T > | Iterator |
| typedef Iterator | iterator |
Public Member Functions | |
| TBaseList () | |
| TBaseList (int, int lower=0, int delta=0) | |
| ~TBaseList () | |
| int | LowerBound () const |
| uint | Size () const |
| int | UpperBound () const |
| uint | ArraySize () const |
| bool | IsFull () const |
| bool | Empty () const |
| bool | IsEmpty () const |
| uint | GetItemsInContainer () const |
| void | Add (const T &data) |
| void | Add (TBaseListIterator< T > *iter, const T &data) |
| void | Push (const T &data) |
| void | PushBack (const T &data) |
| T | Pop () |
| const T & | Top () |
| const T & | Bottom () |
| void | Flush () |
| bool | DetachItem (const T &t) |
| bool | Detach (int loc) |
| bool | HasMember (const T &t) const |
| TBaseNode< T > * | Find (const T &t) const |
| void | ForEach (IterFunc iter, void *args) |
| T * | FirstThat (CondFunc cond, void *args) const |
| T * | LastThat (CondFunc cond, void *args) const |
Protected Member Functions | |
| bool | Remove (TBaseNode< T > *t) |
| int | Add (TBaseNode< T > *node, const T &data) |
| int | Add (TBaseNode< T > *node) |
| int | Add (TBaseNode< T > *item, TBaseNode< T > *node) |
Protected Attributes | |
| TBaseNode< T > * | First |
| TBaseNode< T > * | Last |
| uint | ItemSize |
| optimization for Size() | |
Static Protected Attributes | |
| static const int | NPOS = -1 |
Friends | |
| class | TBaseListIterator< T > |
Definition at line 1089 of file template.h.
| typedef bool(* owl::TBaseList< T >::CondFunc) (const T &, void *) |
Definition at line 1094 of file template.h.
| typedef TBaseListIterator<T> owl::TBaseList< T >::Iterator |
Definition at line 1096 of file template.h.
| typedef Iterator owl::TBaseList< T >::iterator |
Definition at line 1098 of file template.h.
| typedef void(* owl::TBaseList< T >::IterFunc) (T &, void *) |
Definition at line 1093 of file template.h.
|
inline |
Definition at line 1985 of file template.h.
|
inline |
Definition at line 1990 of file template.h.
|
inline |
Definition at line 1995 of file template.h.
|
inline |
Definition at line 2001 of file template.h.
|
inline |
Definition at line 2008 of file template.h.
|
protected |
Definition at line 2186 of file template.h.
|
protected |
Definition at line 2167 of file template.h.
|
inlineprotected |
Definition at line 2161 of file template.h.
|
inline |
Definition at line 1107 of file template.h.
References owl::TBaseList< T >::Size().
|
inline |
Definition at line 2041 of file template.h.
| bool owl::TBaseList< T >::Detach | ( | int | loc | ) |
Definition at line 2072 of file template.h.
| bool owl::TBaseList< T >::DetachItem | ( | const T & | t | ) |
Definition at line 2060 of file template.h.
|
inline |
Definition at line 1109 of file template.h.
References owl::TBaseList< T >::First.
| TBaseNode< T > * owl::TBaseList< T >::Find | ( | const T & | t | ) | const |
Definition at line 2096 of file template.h.
| T * owl::TBaseList< T >::FirstThat | ( | CondFunc | cond, |
| void * | args ) const |
Definition at line 2112 of file template.h.
| void owl::TBaseList< T >::Flush | ( | ) |
Definition at line 2047 of file template.h.
| void owl::TBaseList< T >::ForEach | ( | IterFunc | iter, |
| void * | args ) |
Definition at line 2105 of file template.h.
|
inline |
Definition at line 1111 of file template.h.
References owl::TBaseList< T >::Size().
|
inline |
Definition at line 2090 of file template.h.
|
inline |
Definition at line 1110 of file template.h.
References owl::TBaseList< T >::Empty().
|
inline |
Definition at line 1108 of file template.h.
| T * owl::TBaseList< T >::LastThat | ( | CondFunc | cond, |
| void * | args ) const |
Definition at line 2121 of file template.h.
|
inline |
Definition at line 1104 of file template.h.
|
inline |
Definition at line 2026 of file template.h.
|
inline |
Definition at line 2014 of file template.h.
|
inline |
Definition at line 2020 of file template.h.
|
protected |
Definition at line 2130 of file template.h.
|
inline |
Definition at line 1105 of file template.h.
References owl::TBaseList< T >::ItemSize.
|
inline |
Definition at line 2035 of file template.h.
|
inline |
Definition at line 1106 of file template.h.
References owl::TBaseList< T >::Size().
|
friend |
Definition at line 1096 of file template.h.
|
protected |
Definition at line 1140 of file template.h.
|
protected |
optimization for Size()
Definition at line 1142 of file template.h.
|
protected |
Definition at line 1141 of file template.h.
|
staticprotected |
Definition at line 1144 of file template.h.