Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Maker Class Reference

This is the main class for maker. More...

#include <maker.h>

Collaboration diagram for Maker:

Collaboration graph
[legend]
List of all members.

Public Methods

 Maker (OptionReader *opt)
 Constructs the object and adds all files it can get from the OptionReader. More...

 ~Maker ()
 Does nothing.

void resolveDependencies (void)
 Resolves all dependencies and tags files for rebuild.

bool generateMakescript (void)
 Generates the make script. More...

bool generateDotOutput (void)
 Generates the dot files. More...


Private Methods

void addHeaderFiles (void)
 Adds header files to fileRoot. More...


Private Attributes

OptionReaderoptions
FilemainFile

Detailed Description

This is the main class for maker.

It runs short commands on File, OptionReader and MakeUtilities.

Version:
1.0
Author(s):
Philip Bergen (pb@instadia.net)

Definition at line 26 of file maker.h.


Constructor & Destructor Documentation

Maker::Maker ( OptionReader * opt ) [inline]
 

Constructs the object and adds all files it can get from the OptionReader.

Parameters:
opt   The OptionReader. Must not be NULL!

Definition at line 35 of file maker.h.

Maker::~Maker ( ) [inline]
 

Does nothing.

Definition at line 47 of file maker.h.


Member Function Documentation

void Maker::addHeaderFiles ( void ) [inline, private]
 

Adds header files to fileRoot.

See also:
OptionReader::getOptionFileIndex
Todo:
Add more exclude lists here if they become implemented.

Definition at line 111 of file maker.h.

Referenced by Maker().

bool Maker::generateDotOutput ( void ) [inline]
 

Generates the dot files.

Returns:
True if successful.

Definition at line 89 of file maker.h.

Referenced by main().

bool Maker::generateMakescript ( void ) [inline]
 

Generates the make script.

Returns:
True if successful.

Definition at line 64 of file maker.h.

Referenced by main().

void Maker::resolveDependencies ( void ) [inline]
 

Resolves all dependencies and tags files for rebuild.

Definition at line 54 of file maker.h.

Referenced by main().


Member Data Documentation

File* Maker::mainFile [private]
 

Definition at line 134 of file maker.h.

OptionReader* Maker::options [private]
 

Definition at line 133 of file maker.h.


The documentation for this class was generated from the following file:
Generated at Mon May 14 00:45:45 2001 for Maker by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001