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

mrprj::Resource Class Reference

for managing the content of the class Resource More...

#include <mrprjContent.h>

Collaboration diagram for mrprj::Resource:

Collaboration graph
[legend]
List of all members.

Public Methods

 Resource (krmuo::LoggingUnit &mLoggingUnit, const string &pResourceId, const string &pResourceGroupId, const string &pResourceTitle="???", const string &pResourceDescription="???", const int pResourceType=1, const long pResourceUnits=100, const string &pRecourceEmail="???", float pRecourceStdRate=0.0, float pRecourceOvtRate=200.0)
 constructor for class Resource

 ~Resource ()
 class-destructor

const string & getResourceId () const
 returns the resource-id

const string & getResourceGroupId () const
 returns the id of the corresponding group-id

const string & getResourceTitle () const
 returns the name / title of the resource

const int getResourceType () const
 returns the type of the resource

const long getResourceUnits () const
 returns the units of the resource

const string & getRecourceEmail () const
 returns the email-address of the resource

const float getRecourceStdRate () const
 returns the std-rate of the resource

const float getRecourceOvtRate () const
 returns the ovt-rate of the resource


Detailed Description

for managing the content of the class Resource

instances of the class Resource have the task to hold and change the content of those entries of the mrProject-Xml-File, by which a Resource of the project is described

Definition at line 797 of file mrprjContent.h.


Constructor & Destructor Documentation

mrprj::Resource::Resource krmuo::LoggingUnit   pLoggingUnit,
const string &    pResourceId,
const string &    pResourceGroupId,
const string &    pResourceTitle = "???",
const string &    pResourceDescription = "???",
const int    pResourceType = 1,
const long    pResourceUnits = 100,
const string &    pRecourceEmail = "???",
float    pRecourceStdRate = 0.0,
float    pRecourceOvtRate = 200.0
 

constructor for class Resource

Parameters:
pLoggingUnit  :- reference to the use fault-message-writer
pResourceId:-  nescessary uniq resource-id
pResourceGroupId:-  id of the corresponding ResourceGroup-id
pResourceTitle  :- the resource-name (default: "???"),
pResourceDescription  :- a resource description (default: "???"),
pResourceType  :- type of the resource (default: 1),
pResourceUnits  :- units / credits of the resource (default: 100),
pRecourceEmail  :- email address of the resource (default: "???")
pRecourceStdRate  :- std-rate of the resource (default: 0.0),
pRecourceOvtRate  :- ovt-rate of the resource (default: 200.0s),

Definition at line 2203 of file mrprjContent.cc.

References HM.

mrprj::Resource::~Resource  
 

class-destructor

class-destructor which gets no parameters and returns nothing

Definition at line 2235 of file mrprjContent.cc.

References HM, and krmuo::LoggingUnit::makeEntry().


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 10:58:39 2003 for MRPROJEXT by doxygen1.2.17