blob: 51e2c67cfaeb8753ca65a1c656f14c472e62a49e (
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, const Juniper & juniper);
~Config();
const char* GetProp(const char* name, const char* def);
DocsumParams _docsumparams;
MatcherParams _matcherparams;
SummaryConfig * _sumconf;
private:
std::string _config_name;
const Juniper& _juniper;
Config(Config &);
Config &operator=(Config &);
};
} // end namespace juniper
|