Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
attempt of a function searching all zones of a given type
[simgrid.git] / src / s4u / s4u_netzone.cpp
index 7a6f5f2..22889ef 100644 (file)
@@ -59,10 +59,15 @@ void NetZone::setProperty(const char* key, const char* value)
   });
 }
 
+/** @brief Returns the list of direct children (no grand-children)
+ *
+ * This function returns the internal copy of the childrens, not a copy. Don't mess with it!
+ */
 std::vector<NetZone*>* NetZone::getChildren()
 {
   return children_;
 }
+
 const char* NetZone::getCname() const
 {
   return name_.c_str();