Root atlasClass(const std::string & name, const std::string & parent) { Atlas::Objects::Entity::Anonymous r; r->setParents(std::list<std::string>(1, parent)); r->setObjtype("class"); r->setId(name); return r; }
Root atlasOpDefinition(const std::string & name, const std::string & parent) { Atlas::Objects::Entity::Anonymous r; r->setParents(std::list<std::string>(1, parent)); r->setObjtype("op_definition"); r->setId(name); return r; }
Root atlasType(const std::string & name, const std::string & parent, bool abstract) { Atlas::Objects::Entity::Anonymous r; r->setParents(std::list<std::string>(1, parent)); r->setObjtype(abstract ? "data_type" : "type"); r->setId(name); return r; }