#include "services/service_manager/catalog.h"
#include <vector>
namespace service_manager {
namespace {
std::map<Manifest::ServiceName, const Manifest*> CreateManifestMap(
const std::vector<Manifest>& manifests) { … }
std::map<Manifest::ServiceName, const Manifest*> CreateParentManifestMap(
const std::vector<Manifest>& manifests) { … }
}
Catalog::Catalog(const std::vector<Manifest>& manifests)
: … { … }
Catalog::~Catalog() = default;
const Manifest* Catalog::GetManifest(
const Manifest::ServiceName& service_name) { … }
const Manifest* Catalog::GetParentManifest(
const Manifest::ServiceName& service_name) { … }
}