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

NAMED_ID Class Reference

Store an id and a name. More...

#include <namedid.h>

Inheritance diagram for NAMED_ID:

Inheritance graph
[legend]
List of all members.

Public Methods

 NAMED_ID (char *id, char *name)
const char * id () const
void setId (const char *)
 Usefull to compute a complex id (after creation). More...

const char * name () const

Private Attributes

char * mId
 unique ID. More...

char * mName
 printed name. More...


Detailed Description

Store an id and a name.

Definition at line 24 of file namedid.h.


Constructor & Destructor Documentation

NAMED_ID::NAMED_ID char *    id,
char *    name
 

Definition at line 25 of file namedid.cc.

References id(), mName, name(), and setId().


Member Function Documentation

const char* NAMED_ID::id   const [inline]
 

Definition at line 29 of file namedid.h.

References 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(), CompareTaskResources::operator()(), Project::PredictOverruns(), Reporter::PrintResourcePeriod(), Project::printTaskList(), Project::ResourceIsUsedForTask(), Project::ReverseAssignResource(), Project::ReverseAssignTask(), Project::ReverseBookResource(), 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]
 

Definition at line 31 of file namedid.h.

References mName.

Referenced by Reporter::HTMLCostReport(), Reporter::HTMLReport(), 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 NAMED_ID::setId const char *   
 

Usefull to compute a complex id (after creation).

Definition at line 33 of file namedid.cc.

References id(), and mId.

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


Member Data Documentation

char* NAMED_ID::mId [private]
 

unique ID.

Definition at line 34 of file namedid.h.

Referenced by id(), and setId().

char* NAMED_ID::mName [private]
 

printed name.

Definition at line 35 of file namedid.h.

Referenced by name(), and NAMED_ID().


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