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

ProjectFile Class Reference

#include <projectFile.h>

Collaboration diagram for ProjectFile:

Collaboration graph
[legend]
List of all members.

Public Methods

 ProjectFile ()
Projectproject ()
Reporterreporter ()
void Load (const char *name)
void checkComplete ()

Private Methods

void Error (char *fmt,...)
void Warning (char *fmt,...)
void Debug (char *fmt,...)
int ParseLine (char *linebuf, char ***pwords)
void Vacation (char *resid, char *d1name, char *d2name)
 Create a vacation. More...

void AddCandidates (char *taskid, char **resources, int Nresources)
void WorkBlock (const char *taskid, const char *resid, char *day1, char *day2, TimeBlock::Type type)
void AddTaskGraph (char *d1name, char *d2name, char *fname)

Private Attributes

Project mProject
Reporter mReporter

Constructor & Destructor Documentation

ProjectFile::ProjectFile  
 

Definition at line 29 of file projectFile.cc.


Member Function Documentation

void ProjectFile::AddCandidates char *    taskid,
char **    resources,
int    Nresources
[private]
 

Definition at line 323 of file loadfile.cc.

References Project::AddCandidate(), and mProject.

Referenced by Load().

void ProjectFile::AddTaskGraph char *    d1name,
char *    d2name,
char *    fname
[private]
 

Definition at line 146 of file loadfile.cc.

References Reporter::AddTaskGraph(), Error(), Project::FindDay(), mProject, and mReporter.

Referenced by Load().

void ProjectFile::checkComplete  
 

Definition at line 387 of file loadfile.cc.

References Reporter::checkComplete(), Project::checkComplete(), mProject, and mReporter.

Referenced by main().

void ProjectFile::Debug char *    fmt,
...   
[private]
 

Definition at line 54 of file projectFile.cc.

References MESSENGER::Debug(), and MESSENGER::PROJECT.

Referenced by Load().

void ProjectFile::Error char *    fmt,
...   
[private]
 

Definition at line 33 of file projectFile.cc.

Referenced by AddTaskGraph(), Load(), Vacation(), and WorkBlock().

void ProjectFile::Load const char *    name
 

Definition at line 657 of file loadfile.cc.

References Project::AddAfter(), AddCandidates(), Project::AddDependencies(), Project::AddDescription(), Project::AddFinishNetworkY(), Project::AddGroup(), Project::AddMilestone(), Reporter::AddNetworkDiagram(), Project::AddNetworkX(), Project::AddNetworkY(), Project::AddProjectItem(), Project::AddResource(), Project::AddStartNetworkY(), Project::AddTask(), AddTaskGraph(), Project::AddTaskItem(), Project::Blockify(), BUFLEN, Project::DaysDone(), Debug(), Error(), Project::FinishTask(), TimeBlock::MANUAL_SCHEDULE, mProject, mReporter, ParseLine(), Project::ResourceNote(), Project::SetCompletion(), Project::SetDateFormat(), Project::SetEfficiency(), Project::SetFinishDate(), Project::SetProjectRate(), Project::SetResourceRate(), Project::SetStartTime(), Project::StartTask(), TACTUAL, Project::TaskNote(), TBASE, TNORM, Vacation(), TimeBlock::WORK_DONE, and WorkBlock().

Referenced by main().

int ProjectFile::ParseLine char *    linebuf,
char ***    pwords
[private]
 

Definition at line 36 of file parseline.cc.

References BACKQUOTE, BACKSLASH, INWORD, OPENQUOTE, and SEARCH.

Referenced by Load().

Project& ProjectFile::project   [inline]
 

Definition at line 13 of file projectFile.h.

References mProject.

Referenced by main().

Reporter& ProjectFile::reporter   [inline]
 

Definition at line 14 of file projectFile.h.

References mReporter.

Referenced by main().

void ProjectFile::Vacation char *    resid,
char *    d1name,
char *    d2name
[private]
 

Create a vacation.

Definition at line 502 of file loadfile.cc.

References Error(), Project::FindDay(), mProject, and Project::Vacation().

Referenced by Load().

void ProjectFile::Warning char *    fmt,
...   
[private]
 

Definition at line 45 of file projectFile.cc.

References MESSENGER::Warning().

void ProjectFile::WorkBlock const char *    taskid,
const char *    resid,
char *    day1,
char *    day2,
TimeBlock::Type    type
[private]
 

Definition at line 468 of file loadfile.cc.

References Error(), Project::FindDay(), mProject, TimeBlock::Type, and Project::WorkBlock().

Referenced by Load().


Member Data Documentation

Project ProjectFile::mProject [private]
 

Definition at line 19 of file projectFile.h.

Referenced by AddCandidates(), AddTaskGraph(), checkComplete(), Load(), project(), Vacation(), and WorkBlock().

Reporter ProjectFile::mReporter [private]
 

Definition at line 20 of file projectFile.h.

Referenced by AddTaskGraph(), checkComplete(), Load(), and reporter().


The documentation for this class was generated from the following files:
Generated on Wed Feb 18 22:24:04 2004 for Opensched by doxygen1.2.15