/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 /* Unique ID for each execution of a NuWa job 00002 * 00003 * Created by: dandwyer@caltech.edu 2011/03/16 00004 * 00005 */ 00006 00007 #ifndef DAYABAY_JOBID_H 00008 #define DAYABAY_JOBID_H 00009 00010 #include <string> 00011 00012 namespace DayaBay { 00013 00015 class JobId { 00016 public: 00018 JobId(); 00019 00021 JobId(const std::string& uuid); 00022 00024 virtual ~JobId(); 00025 00027 JobId(const DayaBay::JobId& jobId); 00028 00030 DayaBay::JobId& operator=(const DayaBay::JobId& jobId); 00031 00033 void set(const std::string& uuid); 00034 00036 std::string uuid() const; 00037 00039 bool operator==(const DayaBay::JobId& rhs) const; 00040 bool operator!=(const DayaBay::JobId& rhs) const; 00041 00042 private: 00044 unsigned int m_data[4]; 00045 }; 00046 } 00047 00048 00049 #endif // DAYABAY_JOBID_H