e_entity_types kind_;
Type* father_;
- xbt_dict_t children_;
+ std::map<std::string, Type*> children_;
std::map<std::string, Value*> values_; // valid for all types except variable and container
Type(const char* typeNameBuff, const char* key, std::string color, e_entity_types kind, Type* father);
~Type();
e_container_types kind_; /* This container is of what kind */
Container* father_;
std::map<std::string, Container*> children_;
+ static simgrid::instr::Container* byNameOrNull(std::string name);
+ static simgrid::instr::Container* byName(std::string name);
};
//--------------------------------------------------
extern XBT_PRIVATE std::set<std::string> trivaNodeTypes;
extern XBT_PRIVATE std::set<std::string> trivaEdgeTypes;
XBT_PRIVATE long long int instr_new_paje_id();
-XBT_PUBLIC(container_t) PJ_container_get(const char* name);
-XBT_PUBLIC(simgrid::instr::Container*) PJ_container_get_or_null(const char* name);
XBT_PUBLIC(container_t) PJ_container_get_root ();
XBT_PUBLIC(void) PJ_container_set_root (container_t root);
XBT_PUBLIC(void) PJ_container_remove_from_parent (container_t container);