summaryrefslogtreecommitdiffstats
path: root/searchsummary/src/vespa/juniper/config.h
blob: a9dabdd91d1b2640896fc353eded065cdf293276 (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
29
30
31
32
33
34
35
36
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include "juniperparams.h"
#include "dpinterface.h"

class IJuniperProperties;

namespace juniper
{

class IReducer;
class IExpander;
class Juniper;

class Config
{
public:
    Config(const char* config_name, Juniper & juniper);
    ~Config();
    const char* GetProp(const char* name, const char* def);

    DocsumParams    _docsumparams;
    MatcherParams   _matcherparams;
    SummaryConfig * _sumconf;

private:
    std::string _config_name;
    Juniper   & _juniper;

    Config(Config &);
    Config &operator=(Config &);
};

} // end namespace juniper