OWLNext 7.0
Borland's Object Windows Library for the modern age
|
A linked structure in which each node points to a list of TRegList objects (or TRegList-derived objects) or TDocTemplate objects. More...
#include <owl/registry.h>
Public Member Functions | |
TRegLink (TRegList ®List, TRegLink *&head) | |
Constructs a reglink pointing to a reglist, and adds it to the end of the list. | |
virtual | ~TRegLink () |
Registration link node destructor. | |
TRegLink * | GetNext () const |
Returns a pointer to the next link. | |
void | SetNext (TRegLink *link) |
TRegList & | GetRegList () const |
Returns a pointer to the registration parameter table (reglist). | |
Static Public Member Functions | |
static void | AddLink (TRegLink **head, TRegLink *newLink) |
Adds a new link to the end of the link list. | |
static bool | RemoveLink (TRegLink **head, TRegLink *remLink) |
Removes a link from the link list. Returns true if the link is found and removed. | |
Protected Member Functions | |
TRegLink () | |
Derived class must fill in ptrs. | |
Protected Attributes | |
TRegLink * | Next |
Next RegLink. | |
TRegList * | RegList |
Pointer to registration parameter table. | |
A linked structure in which each node points to a list of TRegList objects (or TRegList-derived objects) or TDocTemplate objects.
Each object has an item name and a string value associated with the item name. The structure forms a typical linked list as the following diagram illustrates:
A TDocTemplate object uses the following variation of the TRegLink structure:
Definition at line 561 of file registry.h.
Constructs a reglink pointing to a reglist, and adds it to the end of the list.
Definition at line 16 of file reglink.cpp.
References AddLink().
|
inlinevirtual |
Registration link node destructor.
Definition at line 1331 of file registry.h.
|
inlineprotected |
Derived class must fill in ptrs.
Protected constructor where the derived class must initialize all pointers.
Definition at line 1358 of file registry.h.
Adds a new link to the end of the link list.
Definition at line 27 of file reglink.cpp.
|
inline |
|
inline |
Returns a pointer to the registration parameter table (reglist).
Definition at line 1350 of file registry.h.
References RegList.
Removes a link from the link list. Returns true if the link is found and removed.
Definition at line 50 of file reglink.cpp.
Definition at line 1342 of file registry.h.
References Next.
|
protected |
Next RegLink.
Definition at line 576 of file registry.h.
|
protected |
Pointer to registration parameter table.
Definition at line 577 of file registry.h.