aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/fef/idumpfeaturevisitor.h
blob: e9aafd7652d1e4197368f31c36072a0560d699cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/vespalib/stllike/string.h>

namespace search::fef {

/**
 * This interface is implemented by objects that want to visit all
 * dump features.
 **/
class IDumpFeatureVisitor
{
public:
    /**
     * Visit a feature that should be dumped when doing a full feature
     * dump. Note that full feature names must be used, for example
     * 'foo(a,b).out'.
     *
     * @param name full feature name
     **/
    virtual void visitDumpFeature(const vespalib::string &name) = 0;
    virtual ~IDumpFeatureVisitor() = default;
};

}