protected:
friend simgrid::surf::AsImpl;
- As(const char *name);
+ explicit As(const char *name);
virtual ~As();
public:
/** @brief Seal your AS once you're done adding content, and before routing stuff through it */
- virtual void Seal();
+ virtual void seal();
char *name();
As *father();;
xbt_dict_t children(); // Sub AS
protected:
char *name_ = nullptr;
- xbt_dict_t children_ = xbt_dict_new_homogeneous(NULL); // sub-ASes
- xbt_dynar_t vertices_ = xbt_dynar_new(sizeof(char*),NULL); // our content, as known to our graph routing algorithm (maps vertexId -> vertex)
+ xbt_dict_t children_ = xbt_dict_new_homogeneous(nullptr); // sub-ASes
+ xbt_dynar_t vertices_ = xbt_dynar_new(sizeof(char*),nullptr); // our content, as known to our graph routing algorithm (maps vertexId -> vertex)
std::map<std::pair<std::string, std::string>, std::vector<surf::Link*>*> bypassRoutes_; // srcName x dstName -> route