66 #ifndef TRM_ACTIVITY_H_
67 #define TRM_ACTIVITY_H_
95 static const char *klassName(
void) {
return "Activity"; }
97 typedef const std::string KeyT;
98 typedef const std::string ValT;
106 static const std::vector<const Enum<Activity> * > & getEnums(
void);
113 bool hasDetails(
void)
const;
114 const std::string & getDetail(
const std::string &key)
const;
115 const std::map<KeyT,ValT> & getDetails(
void)
const;
116 void addDetail(
const std::string &key,
const std::string &value);
117 bool operator == (
const Activity &that)
const ;
118 void print(
void)
const;
122 std::map<KeyT,ValT> details;