// FIXME: The following duplicates the content of s4u::Host
extern std::map<std::string, simgrid::s4u::Host*> host_list;
/** @brief Returns the amount of hosts in the platform */
// FIXME: The following duplicates the content of s4u::Host
extern std::map<std::string, simgrid::s4u::Host*> host_list;
/** @brief Returns the amount of hosts in the platform */
{
if (pimpl->netpoints_.find(name) == pimpl->netpoints_.end())
return nullptr;
return pimpl->netpoints_.at(name);
}
/** @brief Fill the provided vector with all existing netpoints */
{
if (pimpl->netpoints_.find(name) == pimpl->netpoints_.end())
return nullptr;
return pimpl->netpoints_.at(name);
}
/** @brief Fill the provided vector with all existing netpoints */