-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*>* children(); // Sub netzones
+ std::vector<Host*>* hosts(); // my content as a vector of hosts
+
+ /** Get the properties assigned to a host */
+ std::unordered_map<std::string, std::string>* properties();
+
+ /** Retrieve the property value (or nullptr if not set) */
+ const char* property(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 */