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

mrprj::TaskField Class Reference

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

#include <mrprjContent.h>

Collaboration diagram for mrprj::TaskField:

Collaboration graph
[legend]
List of all members.

Public Methods

 TaskField (krmuo::LoggingUnit &pLoggingUnit)
 constructor for class TaskField

 ~TaskField ()
 class-destructor

bool fillTaskFieldByMrPrjXmlFileContent (krmuo::LoggingUnit &pLoggingUnit, const string &mrprjBaseFileContent)
 for filling the whole TaskField

void limitToTimeSlot (const string &pTimeSlotStart, const string &pTimeSlotEnd)
 for making all those tasks of the field ignorable which doesn't belong to the given timeslot

void limitToOpenTasks ()
 for making all those tasks of the field ignorable which are already fullfilled

bool limitToResource (const string &pResourceTitel)
 set those tasks as ignorable which won't be fullfilled by the given resource

bool limitToResourceGroup (const string &pResourceGroupTitel)
 set those tasks as ignorable which won't be fullfilled by users of the given group

void limitToThoseWithActiveDaughters ()
 sets all tasks onto the state ignorable if all daughters can be ignored

bool printTaskFieldAsMrPrjXmlFile () const
 for rewriting the whole TaskField to stdout using the mrprj-xml-file-style

bool printTaskFieldAsLeafListMemo (bool pIso8601)
 for rewriting the whole TaskField to stdout using a leaf oriented list style

bool printTaskFieldAsTreeMemo (bool pIso8601)
 for rewriting the whole TaskField to stdout using a tree oriented list style

void printTaskFieldAsPilotTreeTodo ()
 for rewriting all active nodes/tasks as pilot-todo-list

void printTaskFieldAsPilotLeafTodo ()
 for rewriting all active leaf-nodes/tasks as pilot-todo-list

void printTaskFieldAsLeafVTodo ()
 for rewriting all active leaf-nodes/tasks as vcrd-file-part

void printTaskFieldAsTreeVTodo ()
 for rewriting all active nodes/tasks as vcrd-file-part

void printTaskFieldAsLeafYankTodo ()
 for rewriting all active leaf-nodes/tasks as yank-file

void printTaskFieldAsTreeYankTodo ()
 for rewriting all active leaf-nodes/tasks as yank-file

void printTaskFieldAsLeafCslTodo ()
void printTaskFieldAsTreeCslTodo ()
void printTaskHtmlSurvey (const string &pSurveyReferenceDayString)

Detailed Description

for managing the content of the class TaskField

instances of the class TaskField have the task to hold, change and reqrite the content of all entries of the mrProject-Xml-File,

Definition at line 1444 of file mrprjContent.h.


Constructor & Destructor Documentation

mrprj::TaskField::TaskField krmuo::LoggingUnit   pLoggingUnit
 

constructor for class TaskField

Parameters:
pLoggingUnit  :- reference to the use fault-message-writer

Definition at line 2289 of file mrprjContent.cc.

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

mrprj::TaskField::~TaskField  
 

class-destructor

class-destructor which (a) deletes all allocated ResourceGroups denoted by the pointers of the mResourceGroupMap (b) deletes all allocated Resources denoted by the pointers of the mResourceMap (c) deletes all allocated Allocations denoted by the pointers of the mAllocationList (d) clears mGlobalTaskMap without deleting the tasks denoted by its pointers because those are deleted by the destructors of the tasks themselves

Definition at line 2324 of file mrprjContent.cc.

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


Member Function Documentation

bool mrprj::TaskField::fillTaskFieldByMrPrjXmlFileContent krmuo::LoggingUnit   pLoggingUnit,
const string &    mrprjBaseFileContent
 

for filling the whole TaskField

Parameters:
pLoggingUnit  :- reference to the use fault-message-writer
mrprjBaseFileContent  :- content of the mrprj-xml-master-file
Returns :
true in case of success otherwise false

Definition at line 2405 of file mrprjContent.cc.

References mrprj::XmlNodeReader::getStringProperty(), and SM.

bool mrprj::TaskField::limitToResource const string &    pResourceTitel
 

set those tasks as ignorable which won't be fullfilled by the given resource

Parameters:
pResourceTitel  :- name/title of the resource
Returns :
true in case of success

Definition at line 2516 of file mrprjContent.cc.

bool mrprj::TaskField::limitToResourceGroup const string &    pResourceGroupTitel
 

set those tasks as ignorable which won't be fullfilled by users of the given group

Parameters:
pResourceGroupTitel  :- name/title of the resourceGroup
Returns :
true in case of success

Definition at line 2570 of file mrprjContent.cc.

void mrprj::TaskField::limitToTimeSlot const string &    pTimeSlotStart,
const string &    pTimeSlotEnd
[inline]
 

for making all those tasks of the field ignorable which doesn't belong to the given timeslot

Parameters:
pTimeSlotStart  :- iso-8601 encoded timeslot-start-date
pTimeSlotEnd  :- iso-8601 encoded timeslot-end-date

Definition at line 1513 of file mrprjContent.h.

References mrprj::Task::limitToTimeSlot().

void mrprj::TaskField::printTaskFieldAsLeafCslTodo  
 

for rewriting all active leaf-nodes/tasks as commaseperated list (gnumeric/excel)

Definition at line 2919 of file mrprjContent.cc.

References mrprj::Task::printTaskAsLeafCslTodoMember().

bool mrprj::TaskField::printTaskFieldAsLeafListMemo bool    pIso8601
 

for rewriting the whole TaskField to stdout using a leaf oriented list style

Parameters:
iso8601  : print datestring in iso-format otherwise european/german format
Returns :
true

Definition at line 2856 of file mrprjContent.cc.

References mrprj::Task::printTaskAsLeafMemoListMember().

void mrprj::TaskField::printTaskFieldAsLeafYankTodo  
 

for rewriting all active leaf-nodes/tasks as yank-file

for rewriting all active leaf-nodes/tasks as yank-file

Definition at line 2895 of file mrprjContent.cc.

References mrprj::Task::printTaskAsLeafYankTodoMember().

bool mrprj::TaskField::printTaskFieldAsMrPrjXmlFile   const
 

for rewriting the whole TaskField to stdout using the mrprj-xml-file-style

Returns :
true

Definition at line 2637 of file mrprjContent.cc.

References krmuo::Converter::encode().

void mrprj::TaskField::printTaskFieldAsTreeCslTodo  
 

for rewriting all active nodes/tasks as commaseperated list (gnumeric/excel)

Definition at line 2930 of file mrprjContent.cc.

References mrprj::Task::printTaskAsTreeCslTodoMember().

bool mrprj::TaskField::printTaskFieldAsTreeMemo bool    pIso8601
 

for rewriting the whole TaskField to stdout using a tree oriented list style

Parameters:
iso8601  : print datestring in iso-format otherwise european/german format
Returns :
true

Definition at line 2877 of file mrprjContent.cc.

References mrprj::Task::printTaskAsTreeMemoMember().

void mrprj::TaskField::printTaskFieldAsTreeYankTodo  
 

for rewriting all active leaf-nodes/tasks as yank-file

for rewriting all active nodes/tasks as yank-file

Definition at line 2907 of file mrprjContent.cc.

References mrprj::Task::printTaskAsTreeYankTodoMember().

void mrprj::TaskField::printTaskHtmlSurvey const string &    pSurveyReferenceDayString
 

for rewriting all active nodes/tasks as commaseperated list (gnumeric/excel)

Definition at line 2944 of file mrprjContent.cc.

References mrprj::Task::insertXYposition(), and mrprj::Task::printTaskAsHtmlSurveyMember().


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