X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ae3c6508d04a703be4815ca94c1e3f888f14246c..288deb04fbcfc6a916717e31e8009d209d3314cf:/include/simgrid/s4u/NetZone.hpp diff --git a/include/simgrid/s4u/NetZone.hpp b/include/simgrid/s4u/NetZone.hpp index cb9d1ee3c9..fa5ca046e4 100644 --- a/include/simgrid/s4u/NetZone.hpp +++ b/include/simgrid/s4u/NetZone.hpp @@ -71,10 +71,13 @@ public: static simgrid::xbt::signal onSeal; protected: - std::vector - vertices_; // our content, as known to our graph routing algorithm (maps vertexId -> vertex) + unsigned int getTableSize() { return vertices_.size(); } + std::vector getVertices() { return vertices_; } private: + // our content, as known to our graph routing algorithm (maps vertexId -> vertex) + std::vector vertices_; + std::unordered_map properties_; NetZone* father_ = nullptr; char* name_ = nullptr;