aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/vespa/config/configgen/configpayload.h
blob: 07595a364434f66ec7dc68fa4c18eb1223580f3b (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 Vespa.ai. 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