|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Container of link views with iterator. More...
#include <ocf/oclink.h>
Public Member Functions | |
| TOcLinkCollection () | |
| ~TOcLinkCollection () | |
| void | Clear () |
| Release Views in the collection. | |
| int | Add (TOcLinkView *const &View) |
| int | IsEmpty () const |
| int | Find (TOcLinkView *const &view) |
| virtual unsigned | Count () const |
| int | Detach (TOcLinkView *const &view, int del=0) |
| TOcLinkView * | Find (owl::TString const moniker) const |
| Public Member Functions inherited from owl::TPtrArray< TOcLinkView * > | |
| TPtrArray () | |
| TPtrArray (int upper, int lower=0, int delta=0) | |
| TPtrArray (const TPtrArray< TOcLinkView * > &array) | |
| Public Member Functions inherited from owl::TTypedArray< T, R, A > | |
| TTypedArray () | |
| TTypedArray (int upper, int=0, int=0) | |
| ~TTypedArray () | |
| TTypedArray (const TTypedArray< T, R, A > &array) | |
| TTypedArray< T, R, A > & | operator= (const TTypedArray< T, R, A > &array) |
| void | RemoveEntry (int loc) |
| void | SqueezeEntry (unsigned loc) |
| void | Grow (int index) |
| int | Add (R t) |
| void | AddAt (R t, uint index) |
| bool | DetachItem (R t) |
| bool | Detach (int loc) |
| bool | DestroyItem (R t) |
| bool | Destroy (int loc) |
| bool | HasMember (R t) const |
| int | Find (R t) const |
| T & | operator[] (int loc) |
| const T & | operator[] (int loc) const |
| void | ForEach (IterFunc iter, void *args) |
| T * | FirstThat (CondFunc cond, void *args) const |
| T * | LastThat (CondFunc cond, void *args) const |
| void | Flush () |
| Public Member Functions inherited from owl::TStandardAllocator | |
| void | operator delete (void *ptr) |
| void * | operator new (size_t sz) |
| void * | Alloc (size_t sz) |
| void | Free (void *ptr) |
| void * | ReAlloc (void *ptr, size_t sz) |
| Public Member Functions inherited from owl::TArrayBase | |
| TArrayBase () | |
| uint | GetItemsInContainer () const |
| int | LowerBound () const |
| int | UpperBound () const |
| uint | ArraySize () const |
| bool | IsFull () const |
| bool | IsEmpty () const |
| uint | Size () const |
| uint | Count () const |
| bool | Empty () const |
| uint | size () const |
| bool | empty () const |
Additional Inherited Members | |
| Public Types inherited from owl::TTypedArray< T, R, A > | |
| typedef void(*) | IterFunc(R, void *) |
| typedef bool(*) | CondFunc(R, void *) |
| typedef TPtrArrayIterator< R, TTypedArray< T, R, A > > | Iterator |
| typedef Iterator | iterator |
| Static Public Attributes inherited from owl::TArrayBase | |
| static const int | NPOS = -1 |
| Protected Member Functions inherited from owl::TTypedArray< T, R, A > | |
| void | Resize (int delta) |
| void | Remove (int index) |
| Protected Attributes inherited from owl::TTypedArray< T, R, A > | |
| T * | Data |
| Protected Attributes inherited from owl::TArrayBase | |
| uint | ItemCnt |
| uint | Reserved |
| ocf::TOcLinkCollection::TOcLinkCollection | ( | ) |
Definition at line 471 of file oclink.cpp.
| ocf::TOcLinkCollection::~TOcLinkCollection | ( | ) |
Definition at line 478 of file oclink.cpp.
References Clear().
|
inline |
Definition at line 133 of file oclink.h.
References owl::TTypedArray< T, R, A >::Add().
| void ocf::TOcLinkCollection::Clear | ( | ) |
Release Views in the collection.
DR why do we want to keep data after a clear? Remove it.
Definition at line 487 of file oclink.cpp.
References Count(), owl::TTypedArray< T, R, A >::Detach(), and ocf::TOcLinkView::Release().
|
inlinevirtual |
Definition at line 138 of file oclink.h.
References owl::TArrayBase::Size().
| int ocf::TOcLinkCollection::Detach | ( | TOcLinkView *const & | view, |
| int | del = 0 ) |
Definition at line 500 of file oclink.cpp.
References owl::TTypedArray< T, R, A >::Detach(), and Find().
| TOcLinkView * ocf::TOcLinkCollection::Find | ( | owl::TString const | moniker | ) | const |
Definition at line 512 of file oclink.cpp.
References ocf::TOcLinkView::GetMoniker().
|
inline |
Definition at line 136 of file oclink.h.
References owl::TTypedArray< T, R, A >::Find().
|
inline |
Definition at line 135 of file oclink.h.
References owl::TArrayBase::Empty().