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

FileSystem Class Reference

This class is used to hold all of the files and directories in once place. More...

#include <filesystem.h>

List of all members.

Public Member Functions

 FileSystem ()
 ~FileSystem ()
void setRootDir (char *newRoot)
char * getRootDir ()
void parseFs ()
void parseFs (char *newRoot)
vector< DirTree * > * getDirVect ()
vector< FileTree * > * getFileVect ()

Private Attributes

char * rootDir
vector< DirTree * > dirs
vector< FileTree * > files


Detailed Description

This class is used to hold all of the files and directories in once place.

This class reads in all the files and directories from a given root location. It then stores them in vectors so that they can all be easily accessed. this was nessisary because the render engine needed vectors of objects so that it could draw them.


Constructor & Destructor Documentation

FileSystem::FileSystem  ) 
 

FileSystem::~FileSystem  ) 
 


Member Function Documentation

vector< DirTree * > * FileSystem::getDirVect  ) 
 

vector< FileTree * > * FileSystem::getFileVect  ) 
 

char * FileSystem::getRootDir  ) 
 

void FileSystem::parseFs char *  newRoot  ) 
 

void FileSystem::parseFs  ) 
 

void FileSystem::setRootDir char *  newRoot  ) 
 


Member Data Documentation

vector<DirTree*> FileSystem::dirs [private]
 

vector<FileTree*> FileSystem::files [private]
 

char* FileSystem::rootDir [private]
 


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