void set_property(const std::string& key, const std::string& value);
std::vector<NetZone*> get_children() const;
- NetZone* add_child(const NetZone* new_zone);
+ XBT_ATTRIB_DEPRECATED_v332("Please use set_parent() to manage NetZone's relationship") NetZone* add_child(
+ NetZone* new_zone);
void extract_xbt_graph(const s_xbt_graph_t* graph, std::map<std::string, xbt_node_t, std::less<>>* nodes,
std::map<std::string, xbt_edge_t, std::less<>>* edges);
s4u::Link* create_link(const std::string& name, const std::vector<std::string>& bandwidths);
/** @brief Seal this netzone configuration */
- void seal();
+ NetZone* seal();
private:
/** @brief Auxiliary function to get list of LinkImpl */