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

MILESTONE Class Reference

#include <milestone.h>

Inheritance diagram for MILESTONE:

Inheritance graph
[legend]
Collaboration diagram for MILESTONE:

Collaboration graph
[legend]
List of all members.

Public Types

typedef vector< MILESTONE * > PTRLIST

Public Methods

 MILESTONE (char *id, char *name)
 ~MILESTONE ()
void addDepends (TASK *depends)
TASK::PTRLIST::const_iterator begin_depends ()
TASK::PTRLIST::const_iterator end_depends ()
int day () const
void setDay (int day)
int bday () const
void setBday (int bday)
TASKcritical () const
void setCritical (TASK *critical)
const char * id () const
void setId (const char *)
 Usefull to compute a complex id (after creation). More...

const char * name () const

Public Attributes

int x1
int y1
int x2
int y2
 gannt chart drawing coordinates. More...

int nx
int ny
 network diagram drawing coordinates. More...


Private Attributes

int mDay
 Baseline date met. More...

int mBday
 Baseline date met. More...

TASKmCritical
 which depends task sets date. More...

TASK::PTRLIST mDepends
 what tasks must be finished first? More...


Member Typedef Documentation

typedef vector<MILESTONE *> MILESTONE::PTRLIST
 

Definition at line 35 of file milestone.h.


Constructor & Destructor Documentation

MILESTONE::MILESTONE char *    id,
char *    name
 

Definition at line 23 of file milestone.cc.

References INVALIDDAYNO, mBday, mCritical, mDay, nx, ny, x1, x2, y1, and y2.

MILESTONE::~MILESTONE   [inline]
 

Definition at line 38 of file milestone.h.


Member Function Documentation

void MILESTONE::addDepends TASK   depends [inline]
 

Definition at line 40 of file milestone.h.

References mDepends.

Referenced by Project::AddAfter().

int MILESTONE::bday   const [inline]
 

Definition at line 46 of file milestone.h.

References mBday.

Referenced by Reporter::HTMLReport(), setBday(), Reporter::TexReport(), Reporter::TextReport(), and Reporter::XMLReport().

TASK::PTRLIST::const_iterator MILESTONE::begin_depends   [inline]
 

Definition at line 41 of file milestone.h.

References mDepends.

Referenced by Project::ScheduleMilestones().

TASK* MILESTONE::critical   const [inline]
 

Definition at line 48 of file milestone.h.

References mCritical.

Referenced by Reporter::write_milestones().

int MILESTONE::day   const [inline]
 

Definition at line 44 of file milestone.h.

References mDay.

Referenced by Reporter::HTMLReport(), CompareMilestoneDates::operator()(), setDay(), Reporter::TexReport(), Reporter::TextReport(), and Reporter::XMLReport().

TASK::PTRLIST::const_iterator MILESTONE::end_depends   [inline]
 

Definition at line 42 of file milestone.h.

References mDepends.

Referenced by Project::ScheduleMilestones().

const char* NAMED_ID::id   const [inline, inherited]
 

Definition at line 29 of file namedid.h.

References NAMED_ID::mId.

Referenced by Project::AddTask(), Project::AssignResource(), Project::AssignTask(), Project::BookResource(), TASK::Error(), RESOURCE::Error(), Reporter::findCellInColumn(), Project::FirstFreeTime(), Reporter::HardSchedule(), Reporter::HTMLCostReport(), Reporter::HTMLReport(), NAMED_ID::NAMED_ID(), CompareTaskResources::operator()(), Project::PredictOverruns(), Reporter::PrintResourcePeriod(), Project::printTaskList(), Project::ResourceIsUsedForTask(), Project::ReverseAssignResource(), Project::ReverseAssignTask(), Project::ReverseBookResource(), NAMED_ID::setId(), Reporter::SlippageReport(), Reporter::TaskGraph(), Reporter::TeXCostReport(), Reporter::TexReport(), Reporter::TextReport(), Reporter::UtilGraph(), Project::Vacation(), Project::WorkBlock(), Reporter::write_chart(), Reporter::write_milestones(), and Reporter::XMLReport().

const char* NAMED_ID::name   const [inline, inherited]
 

Definition at line 31 of file namedid.h.

References NAMED_ID::mName.

Referenced by Reporter::HTMLCostReport(), Reporter::HTMLReport(), NAMED_ID::NAMED_ID(), Reporter::PrintPeriod(), Reporter::PrintResourcePeriod(), Reporter::SlippageReport(), Reporter::TaskGraph(), Reporter::TeXCostReport(), Reporter::TexReport(), Reporter::TextReport(), Reporter::write_chart(), Reporter::write_milestones(), and Reporter::XMLReport().

void MILESTONE::setBday int    bday [inline]
 

Definition at line 47 of file milestone.h.

References bday(), and mBday.

void MILESTONE::setCritical TASK   critical [inline]
 

Definition at line 49 of file milestone.h.

References mCritical.

Referenced by Project::ScheduleMilestones().

void MILESTONE::setDay int    day [inline]
 

Definition at line 45 of file milestone.h.

References day(), and mDay.

Referenced by Project::ScheduleMilestones().

void NAMED_ID::setId const char *    [inherited]
 

Usefull to compute a complex id (after creation).

Definition at line 33 of file namedid.cc.

References NAMED_ID::id(), and NAMED_ID::mId.

Referenced by NAMED_ID::NAMED_ID(), and VACATION::VACATION().


Member Data Documentation

int MILESTONE::mBday [private]
 

Baseline date met.

Definition at line 57 of file milestone.h.

Referenced by bday(), MILESTONE(), and setBday().

TASK* MILESTONE::mCritical [private]
 

which depends task sets date.

Definition at line 58 of file milestone.h.

Referenced by critical(), MILESTONE(), and setCritical().

int MILESTONE::mDay [private]
 

Baseline date met.

Definition at line 56 of file milestone.h.

Referenced by day(), MILESTONE(), and setDay().

TASK::PTRLIST MILESTONE::mDepends [private]
 

what tasks must be finished first?

Definition at line 60 of file milestone.h.

Referenced by addDepends(), begin_depends(), and end_depends().

int MILESTONE::nx
 

Definition at line 53 of file milestone.h.

Referenced by MILESTONE().

int MILESTONE::ny
 

network diagram drawing coordinates.

Definition at line 53 of file milestone.h.

Referenced by MILESTONE().

int MILESTONE::x1
 

Definition at line 52 of file milestone.h.

Referenced by MILESTONE().

int MILESTONE::x2
 

Definition at line 52 of file milestone.h.

Referenced by MILESTONE().

int MILESTONE::y1
 

Definition at line 52 of file milestone.h.

Referenced by MILESTONE().

int MILESTONE::y2
 

gannt chart drawing coordinates.

Definition at line 52 of file milestone.h.

Referenced by MILESTONE().


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