cpp-hocon
0.3.0
internal
container.hpp
1
#pragma once
2
3
#include <hocon/config_value.hpp>
4
namespace
hocon
{
5
12
class
container
{
13
public
:
19
virtual
shared_value
replace_child
(shared_value
const
& child, shared_value replacement)
const
= 0;
20
25
virtual
bool
has_descendant
(shared_value
const
& descendant)
const
= 0;
26
};
27
28
}
// namespace hocon
hocon::container::has_descendant
virtual bool has_descendant(shared_value const &descendant) const =0
Super-expensive full traversal to see if descendant is anywhere underneath this container.
hocon::container::replace_child
virtual shared_value replace_child(shared_value const &child, shared_value replacement) const =0
Replace a child of this value.
hocon
Factory for creating config_document instances.
Definition:
config.hpp:18
hocon::container
An Abstractconfig_value which contains other values.
Definition:
container.hpp:12
Generated on Fri Jun 12 2020 09:47:37 for cpp-hocon by
1.8.18