- Event(std::string name, double start_time, double end_time, std::string type);
- ~Event();
- void addCharacteristic(char* characteristic);
- void addResources(std::vector<sg_host_t>* host_selection);
- void addInfo(char* key, char* value);
- void print(FILE* file);
+ Event(const std::string& name, double start_time, double end_time, const std::string& type)
+ : name_(name), start_time_(start_time), end_time_(end_time), type_(type)
+ {
+ }
+ void add_characteristic(const char* characteristic);
+ void add_resources(const std::vector<sg_host_t>& host_selection);
+ void add_info(char* key, char* value);
+ void print(FILE* file) const;