File: unmergeable.hpp

package info (click to toggle)
cpp-hocon 0.3.0-1.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,320 kB
  • sloc: cpp: 12,223; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 501 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <hocon/config_value.hpp>
#include <vector>

namespace hocon {

    /**
    * Interface that tags a ConfigValue that is not mergeable until after
    * substitutions are resolved. Basically these are special ConfigValue that
    * never appear in a resolved tree, like {@link ConfigSubstitution} and
    * {@link ConfigDelayedMerge}.
    */
    class unmergeable {
    public:
        virtual std::vector<shared_value> unmerged_values() const = 0;
    };

}  // namespace hocon