00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef DATAINFO_H
00024 #define DATAINFO_H
00025
00026 #include <string>
00027 using namespace std;
00028
00029 class TaskDataInfo
00030 {
00031
00035 bool mShared;
00039 string mSourcePath;
00043 string mLocalDir;
00044
00045 public:
00046
00050 TaskDataInfo()
00051 :mShared(false), mSourcePath(""), mLocalDir(""){ }
00052
00059 TaskDataInfo(bool shared, string sourcePath, string localDir)
00060 :mShared(shared), mSourcePath(sourcePath), mLocalDir(localDir){ }
00061 ~TaskDataInfo(){ }
00062
00063 public:
00064
00065 bool isShared() {return mShared;}
00066 string getSourcePath() {return mSourcePath;}
00067 string getLocalDir() {return mLocalDir;}
00068
00069
00070 void setShared(bool shared) { mShared = shared; }
00071 void setSourcePath(string sourcePath) { mSourcePath = sourcePath; }
00072 void setLocalDir(string localDir) { mLocalDir = localDir; }
00073
00074 };
00075
00076
00077 #endif
00078