simgrid::instr::Type::Type(const char* typeNameBuff, const char* key, const char* color, e_entity_types kind,
Type* father)
+ : kind_(kind), father_(father)
{
if (typeNameBuff == nullptr || key == nullptr){
THROWF(tracing_error, 0, "can't create a new type with name or key equal nullptr");
}
this->name_ = xbt_strdup(typeNameBuff);
- this->father_ = father;
- this->kind_ = kind;
this->children_ = xbt_dict_new_homogeneous(nullptr);
this->values_ = xbt_dict_new_homogeneous(nullptr);
this->color_ = xbt_strdup(color);
rootType = ret;
} else {
XBT_DEBUG("ContainerType %s(%s), child of %s(%s)", ret->name_, ret->id_, father->name_, father->id_);
- DefineContainerEvent(ret);
+ LogContainerTypeDefinition(ret);
}
return ret;
}