*
* This function returns the internal copy of the children, not a copy. Don't mess with it!
*/
-std::vector<NetZone*>* NetZone::getChildren()
+std::vector<NetZone*>* NetZone::get_children()
{
return children_;
}
}
}
-int NetZone::getHostCount()
+int NetZone::get_host_count()
{
int count = 0;
for (auto const& card : vertices_) {
void sg_zone_get_sons(sg_netzone_t netzone, xbt_dict_t whereto)
{
- for (auto const& elem : *netzone->getChildren()) {
+ for (auto const& elem : *netzone->get_children()) {
xbt_dict_set(whereto, elem->get_cname(), static_cast<void*>(elem), nullptr);
}
}