#include <positiondir.h>
Inheritance diagram for PositionDir:

Public Member Functions | |
| PositionDir () | |
| PositionDir (DirTree *owner) | |
| virtual | ~PositionDir () |
| virtual void | calculatePosition () |
| a virtua; function to calulate the true position of the object | |
| virtual void | updateRelations () |
| the virtual function is used to update the positions relations | |
| virtual float | getTrueX () |
| a virtual function to calulate and return the true x coordinate value | |
| virtual float | getTrueY () |
| a virtual function to calulate and return the true y coordinate value | |
| virtual float | getTrueZ () |
| a virtual function to calulate and return the true z coordinate value | |
| void | initFilePosInfo () |
| int | getFileDirection () |
| void | updateFilePosInfo (int i, int x, int y, int z) |
| virtual int | getTrueSizeX () |
| virtual int | getTrueSizeY () |
| virtual int | getTrueSizeZ () |
| int | getMaxSiblingSizeX () |
| int | getMaxSiblingSizeY () |
| int | getMaxChildSizeX () |
| int | getMaxChildSizeY () |
| void | addChildDir (PositionDir *newChild) |
| void | setCollapsed () |
| void | clearCollapsed () |
| virtual int | getMinTrueSizeX () |
| virtual int | getMinTrueSizeY () |
| virtual int | getMinTrueSizeZ () |
| virtual int | getMaxTrueSizeX () |
| virtual int | getMaxTrueSizeY () |
| virtual int | getMaxTrueSizeZ () |
| void | sizeTouched (int init) |
Private Attributes | |
| PositionDir * | parentLoc |
| This is a pointer to the parent position object of this position. | |
| DirTree * | myOwner |
| int | numToLeft |
| int | direction |
| int | up1Count |
| int | rightCount |
| int | leftCount |
| int | downCount |
| int | up2Count |
| int | fileDirection |
| int | fileUp1Count |
| int | fileRightCount |
| int | fileLeftCount |
| int | fileDownCount |
| int | fileUp2Count |
| int | trueSizeX |
| int | trueSizeY |
| int | trueSizeZ |
| char | trueSizeXFlags |
| char | trueSizeYFlags |
| char | trueSizeZFlags |
| char | collapsed |
PositionDir acts as a frame of reference for positioning files and child directories. All files contained in the directory which controls this position object will have their coordinates relative to this position. Child directory positions are also relative to this position.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a virtua; function to calulate the true position of the object this pure virtual function serves are a place holder for a;; child classes version of calulate position
Implements Position. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
a virtual function to calulate and return the true x coordinate value this virtual function allows for each decendant of the position class the ability to calulate their x coordinate in their own way
Implements Position. |
|
|
a virtual function to calulate and return the true y coordinate value this virtual function allows for each decendant of the position class the ability to calulate their y coordinate in their own way
Implements Position. |
|
|
a virtual function to calulate and return the true z coordinate value this virtual function allows for each decendant of the position class the ability to calulate their z coordinate in their own way
Implements Position. |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
the virtual function is used to update the positions relations This pure virtual function serves as a place holder for chold class versions for updating relations
Implements Position. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is a pointer to the parent position object of this position.
Reimplemented from Position. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.6