#include <nicktree.h>
Inheritance diagram for NickTree:

Public Member Functions | |
| NickTree () | |
| ~NickTree () | |
| int | setName (char *name) |
| int | setLocation (char *loc) |
| char * | getName () |
| char * | getLocation () |
| char * | getFullName () |
| virtual Position * | getPosition () |
| A pure virtual function to get a pointer to the position object. | |
| virtual DrawableObject ** | draw (int &numToDraw)=0 |
| virtual int | addChild (NickTree *child, int connectionType) |
| virtual int | removeChild (NickTree *child) |
| virtual int | getNumChildren () |
| virtual NickTree ** | getChildren () |
| virtual int | addParent (NickTree *child, int connectionType) |
| virtual int | removeParent (NickTree *child) |
| virtual int | getNumParents () |
| virtual NickTree ** | getParents () |
Private Attributes | |
| char * | name |
| char * | location |
| char * | fullName |
| NickTree ** | children |
| int * | childConnectionType |
| int | numChildren |
| NickTree ** | parents |
| int * | parentConnectionType |
| int | numParents |
| Position * | thePosition |
| a pointer to the position of the drawable object | |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A pure virtual function to get a pointer to the position object.
Implements DrawableObject. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a pointer to the position of the drawable object
Reimplemented from DrawableObject. |
1.3.6