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

PositionFile Class Reference

A Child class of position to define the position of files. More...

#include <positionfile.h>

Inheritance diagram for PositionFile:

Position List of all members.

Public Member Functions

 PositionFile ()
 PositionFile (FileTree *owner)
virtual ~PositionFile ()
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 GLfloat getTrueX ()
 a virtual function to calulate and return the true x coordinate value

virtual GLfloat getTrueY ()
 a virtual function to calulate and return the true y coordinate value

virtual GLfloat getTrueZ ()
 a virtual function to calulate and return the true z coordinate value

virtual int getTrueSizeX ()
virtual int getTrueSizeY ()
virtual int getTrueSizeZ ()
virtual int getMinTrueSizeX ()
virtual int getMinTrueSizeY ()
virtual int getMinTrueSizeZ ()
virtual int getMaxTrueSizeX ()
virtual int getMaxTrueSizeY ()
virtual int getMaxTrueSizeZ ()

Private Attributes

PositionDirparentLoc
 This is a pointer to the parent position object of this position.

FileTreemyOwner
int numToLeft

Detailed Description

A Child class of position to define the position of files.

This class describes the position of FileTree objects the position is calculated based on a PositionDir object and the number of files in the directory


Constructor & Destructor Documentation

PositionFile::PositionFile  ) 
 

PositionFile::PositionFile FileTree owner  ) 
 

PositionFile::~PositionFile  )  [virtual]
 


Member Function Documentation

void PositionFile::calculatePosition  )  [virtual]
 

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

Returns:
nothing

Implements Position.

int PositionFile::getMaxTrueSizeX  )  [virtual]
 

Implements Position.

int PositionFile::getMaxTrueSizeY  )  [virtual]
 

Implements Position.

int PositionFile::getMaxTrueSizeZ  )  [virtual]
 

Implements Position.

int PositionFile::getMinTrueSizeX  )  [virtual]
 

Implements Position.

int PositionFile::getMinTrueSizeY  )  [virtual]
 

Implements Position.

int PositionFile::getMinTrueSizeZ  )  [virtual]
 

Implements Position.

int PositionFile::getTrueSizeX  )  [virtual]
 

Implements Position.

int PositionFile::getTrueSizeY  )  [virtual]
 

Implements Position.

int PositionFile::getTrueSizeZ  )  [virtual]
 

Implements Position.

GLfloat PositionFile::getTrueX  )  [virtual]
 

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

Returns:
a GLfloat value being the true x coordinate

Implements Position.

GLfloat PositionFile::getTrueY  )  [virtual]
 

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

Returns:
a GLfloat value being the true y coordinate

Implements Position.

GLfloat PositionFile::getTrueZ  )  [virtual]
 

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

Returns:
a GLfloat value being the true z coordinate

Implements Position.

void PositionFile::updateRelations  )  [virtual]
 

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

Returns:
nothing

Implements Position.


Member Data Documentation

FileTree* PositionFile::myOwner [private]
 

int PositionFile::numToLeft [private]
 

PositionDir* PositionFile::parentLoc [private]
 

This is a pointer to the parent position object of this position.

Reimplemented from Position.


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