aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/vespa/config/configgen/configpayload.h
blob: 7d36244ee6a07424465212c6d9511cf454dbbdbd (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
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

namespace vespalib {
    namespace slime {
        struct Inspector;
    }
}

namespace config {

class ConfigPayload {
public:
    ConfigPayload(const ::vespalib::slime::Inspector & inspector)
        : _inspector(inspector)
    {}
    const ::vespalib::slime::Inspector & get() const { return _inspector; }
private:
    const ::vespalib::slime::Inspector & _inspector;
};

} // namespace config