Back to index

fet  5.18.0
Public Member Functions | Public Attributes
ActivityTag Class Reference

This class represents an activity tag. More...

#include <activitytag.h>

List of all members.

Public Member Functions

 ActivityTag ()
 ~ActivityTag ()
QString getXmlDescription ()
QString getDetailedDescription ()
QString getDetailedDescriptionWithConstraints (Rules &r)

Public Attributes

QString name

Detailed Description

This class represents an activity tag.

Author:
Liviu Lalescu

Definition at line 38 of file activitytag.h.


Constructor & Destructor Documentation

Definition at line 21 of file activitytag.cpp.

{
}

Definition at line 25 of file activitytag.cpp.

{
}

Member Function Documentation

Definition at line 38 of file activitytag.cpp.

{
       QString s=tr("Activity tag");
       s+="\n";
       s+=tr("Name=%1", "The name of the activity tag").arg(this->name);
       s+="\n";

       return s;
}

Here is the caller graph for this function:

Definition at line 48 of file activitytag.cpp.

{
       QString s=this->getDetailedDescription();

       s+="--------------------------------------------------\n";
       s+=tr("Time constraints directly related to this activity tag:");
       s+="\n";
       for(int i=0; i<r.timeConstraintsList.size(); i++){
              TimeConstraint* c=r.timeConstraintsList[i];
              if(c->isRelatedToActivityTag(this)){
                     s+="\n";
                     s+=c->getDetailedDescription(r);
              }
       }

       s+="--------------------------------------------------\n";
       s+=tr("Space constraints directly related to this activity tag:");
       s+="\n";
       for(int i=0; i<r.spaceConstraintsList.size(); i++){
              SpaceConstraint* c=r.spaceConstraintsList[i];
              if(c->isRelatedToActivityTag(this)){
                     s+="\n";
                     s+=c->getDetailedDescription(r);
              }
       }
       s+="--------------------------------------------------\n";

       return s;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 29 of file activitytag.cpp.

{
       QString s="<Activity_Tag>\n";
       s+="   <Name>"+protect(this->name)+"</Name>\n";
       s+="</Activity_Tag>\n";

       return s;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 42 of file activitytag.h.


The documentation for this class was generated from the following files: