Main Page | Class Hierarchy | Class List | Directories | File List | Class 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 Member Functions

 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.

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.


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::Task::fillTaskSubStructureByMrPrjXmlTaskNodes(), 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.

References mrprj::Task::setPassive().

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.

References mrprj::Task::getTaskId(), and mrprj::Task::setPassive().

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(), mrprj::Task::getTaskId(), and mrprj::Task::printTaskAsMrPrjXmlFileMember().

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 Sat Mar 4 11:55:35 2006 for MRPROJEXT by  doxygen 1.4.1