aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/attribute/i_attribute_initializer_registry.h
blob: 34bcd1755e9bd7caeb14111d8f52fbfe2b755fde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include "attribute_initializer.h"

namespace proton {

/**
 * Interface for registering a set of attribute initializers,
 * later to be used to initialize and load the set of attributes.
 */
struct IAttributeInitializerRegistry
{
    virtual ~IAttributeInitializerRegistry() {}
    virtual void add(AttributeInitializer::UP initializer) = 0;
};

} // namespace proton