#include <filetree.h>
Inheritance diagram for FileTree:

Public Member Functions | |
| FileTree () | |
| FileTree (char *name, char *loc, DirTree *pDir) | |
| ~FileTree () | |
| int | setFileInfo (char *fullFileNameAndPath) |
| int | setFileType (int type) |
| int | setFileName (char *name) |
| int | setFileLocation (char *dir) |
| int | setPosition (int *pos) |
| int | getFileType () |
| char * | getFileName () |
| char * | getFileLocation () |
| DirTree * | getParentDir () |
| virtual PositionFile * | getPosition () |
| A pure virtual function to get a pointer to the position object. | |
| int | getNumChildren () |
| int | getNumParents () |
| FileTree ** | getParents () |
| virtual void | matrixOps (void *) |
| A pure virtual function to pass drawing matrix options. | |
| virtual void | draw (void *) |
| A pure virtual function to draw the object. | |
| int | addChild (FileTree *child, int connectionType) |
| int | removeChild (FileTree *child) |
| int | addParent (FileTree *parent, int connectionType) |
| int | removeParent (FileTree *parent) |
Private Attributes | |
| FileTree ** | parents |
| int * | parentConnectionType |
| int | numParents |
| FileTree ** | children |
| int * | childConnectionType |
| int | numChildren |
| int | fileType |
| char * | fileName |
| char * | fileLocation |
| DirTree * | parentDir |
| PositionFile * | thePosition |
| a pointer to the position of the drawable object | |
This child of drawable object represnts a file. it is drawable and can be linked to other files depending on their code relations
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
A pure virtual function to draw the object.
Implements DrawableObject. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A pure virtual function to get a pointer to the position object.
Implements DrawableObject. |
|
|
A pure virtual function to pass drawing matrix options.
Implements DrawableObject. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a pointer to the position of the drawable object
Reimplemented from DrawableObject. |
1.3.6