// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include namespace search::attribute { class AttributeReadGuard; /** * Interface for an attribute vector used to create a short-lived read guard over that attribute. */ class ReadableAttributeVector { public: virtual ~ReadableAttributeVector() = default; virtual std::unique_ptr makeReadGuard(bool stableEnumGuard) const = 0; }; }