Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

NickTree Class Reference

#include <nicktree.h>

Inheritance diagram for NickTree:

DrawableObject List of all members.

Public Member Functions

 NickTree ()
 ~NickTree ()
int setName (char *name)
int setLocation (char *loc)
char * getName ()
char * getLocation ()
char * getFullName ()
virtual PositiongetPosition ()
 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
PositionthePosition
 a pointer to the position of the drawable object


Constructor & Destructor Documentation

NickTree::NickTree  ) 
 

NickTree::~NickTree  ) 
 


Member Function Documentation

virtual int NickTree::addChild NickTree child,
int  connectionType
[virtual]
 

virtual int NickTree::addParent NickTree child,
int  connectionType
[virtual]
 

virtual DrawableObject** NickTree::draw int &  numToDraw  )  [pure virtual]
 

virtual NickTree** NickTree::getChildren  )  [virtual]
 

char* NickTree::getFullName  ) 
 

char* NickTree::getLocation  ) 
 

char* NickTree::getName  ) 
 

virtual int NickTree::getNumChildren  )  [virtual]
 

virtual int NickTree::getNumParents  )  [virtual]
 

virtual NickTree** NickTree::getParents  )  [virtual]
 

virtual Position* NickTree::getPosition  )  [virtual]
 

A pure virtual function to get a pointer to the position object.

Returns:
a pointer to a Position object

Implements DrawableObject.

virtual int NickTree::removeChild NickTree child  )  [virtual]
 

virtual int NickTree::removeParent NickTree child  )  [virtual]
 

int NickTree::setLocation char *  loc  ) 
 

int NickTree::setName char *  name  ) 
 


Member Data Documentation

int* NickTree::childConnectionType [private]
 

NickTree** NickTree::children [private]
 

char* NickTree::fullName [private]
 

char* NickTree::location [private]
 

char* NickTree::name [private]
 

int NickTree::numChildren [private]
 

int NickTree::numParents [private]
 

int* NickTree::parentConnectionType [private]
 

NickTree** NickTree::parents [private]
 

Position* NickTree::thePosition [private]
 

a pointer to the position of the drawable object

Reimplemented from DrawableObject.


The documentation for this class was generated from the following file:
Generated on Sat Aug 28 10:33:24 2004 by doxygen 1.3.6