-public:
- /* Add content to the AS, at parsing time. It should be sealed afterward. */
- virtual int addComponent(kernel::routing::NetCard * elm); /* A host, a router or an AS, whatever */
+ std::vector<NetZone*>* getChildren(); // Sub netzones
+ void getHosts(std::vector<s4u::Host*> * whereto); // retrieve my content as a vector of hosts
+
+ /** Get the properties assigned to a host */
+ std::unordered_map<std::string, std::string>* getProperties();
+
+ /** Retrieve the property value (or nullptr if not set) */
+ const char* getProperty(const char* key);
+ void setProperty(const char* key, const char* value);
+
+ /* Add content to the netzone, at parsing time. It should be sealed afterward. */
+ virtual int addComponent(kernel::routing::NetPoint * elm); /* A host, a router or a netzone, whatever */