#include <Link.hpp>
Public Methods | |
| Link () | |
| Link (Link &link) | |
| Link (Link *nextp) | |
| Link (DBase *Elemval) | |
| Link (DBase *Elemval, Link *nextp) | |
| void * | operator new (size_t) |
| void | operator delete (void *) |
| Link (const Elem Elemval, Link *nextp=NULL, Link *prevp=NULL) | |
| Link (Link *nextp=NULL, Link *prevp=NULL) | |
| void * | operator new (size_t) |
| void | operator delete (void *) |
| Link (const Elem elemval, Link *nextval=NULL) | |
| Link (Link *nextval=NULL) | |
| ~Link () | |
| void * | operator new (size_t) |
| void | operator delete (void *) |
| Link (const Elem elemval, Link *nextval=NULL) | |
| Link (Link *nextval=NULL) | |
| Link (const Elem elemval, Link *nextval=NULL) | |
| Link (Link *nextval=NULL) | |
| void * | operator new (size_t) |
| void | operator delete (void *) |
Public Attributes | |
| DBase * | element |
| Link * | next |
| Elem | element |
| Link * | next |
| Link * | prev |
| Link * | next |
| Link * | next |
| Link * | next |
Static Public Attributes | |
| Link * | freelist = NULL |
| Link * | freelist |
| Link * | freelist |
| Link * | freelist |
|
|
Definition at line 7 of file Link.cpp. 00007 {
00008 next = NULL;
00009 }
|
|
|
Definition at line 11 of file Link.cpp. 00011 { // Copy Constructor
00012 element = new DBase( *link.element );
00013 next = NULL;
00014 }
|
|
|
Definition at line 16 of file Link.cpp. 00016 { // Default Empty Constructor
00017 next = nextp;
00018 }
|
|
|
Definition at line 20 of file Link.cpp. 00020 { // With an element and no ptr
00021 element = Elemval;
00022 next = NULL;
00023 }
|
|
||||||||||||
|
Definition at line 25 of file Link.cpp. 00025 { // With an element and next ptr
00026 element = Elemval;
00027 next = nextp;
00028 }
|
|
||||||||||||||||
|
Definition at line 7 of file DLINKF.H. 00008 { element = Elemval; next = nextp; prev = prevp;}
|
|
||||||||||||
|
Definition at line 9 of file DLINKF.H. 00010 { next = nextp; prev = prevp; }
|
|
||||||||||||
|
Definition at line 6 of file FREE.C. 00007 { element = elemval; next = nextval; }
|
|
|
Definition at line 8 of file FREE.C. 00008 { next = nextval; }
|
|
|
Definition at line 9 of file FREE.C. 00009 { } // Destructor: take no action
|
|
||||||||||||
|
Definition at line 5 of file LINK.X. 00006 { element = elemval; next = nextval; } // Given Elem value
|
|
|
Definition at line 7 of file LINK.X. 00007 { next = nextval; } // Constructor 2
|
|
||||||||||||
|
Definition at line 6 of file LINKF.H. 00007 { element = elemval; next = nextval; } // Given Elem value
|
|
|
Definition at line 8 of file LINKF.H. 00008 { next = nextval; } // Constructor 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 3 of file LINKF.H. Referenced by Link(), Stack::display(), Stack::pop(), and Stack::topValue().
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 2 of file LINKFUNC.X. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 29 of file Link.hpp. Referenced by Stack::Stack(), Stack::clear(), Stack::display(), freelist(), operator new(), and Stack::pop().
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001