cpp-hocon  0.3.0
Public Member Functions | List of all members
hocon::replaceable_merge_stack Class Referenceabstract
Inheritance diagram for hocon::replaceable_merge_stack:
hocon::container hocon::config_delayed_merge hocon::config_delayed_merge_object

Public Member Functions

virtual shared_value make_replacement (resolve_context const &context, int skipping) const =0
 
virtual shared_value replace_child (shared_value const &child, shared_value replacement) const =0
 Replace a child of this value. More...
 
virtual bool has_descendant (shared_value const &descendant) const =0
 Super-expensive full traversal to see if descendant is anywhere underneath this container. More...
 

Detailed Description

Definition at line 9 of file replaceable_merge_stack.hpp.

Member Function Documentation

◆ has_descendant()

virtual bool hocon::container::has_descendant ( shared_value const &  descendant) const
pure virtualinherited

Super-expensive full traversal to see if descendant is anywhere underneath this container.

Implemented in hocon::simple_config_object, hocon::config_delayed_merge_object, hocon::config_delayed_merge, hocon::config_concatenation, and hocon::simple_config_list.

◆ replace_child()

virtual shared_value hocon::container::replace_child ( shared_value const &  child,
shared_value  replacement 
) const
pure virtualinherited

Replace a child of this value.

CAUTION if replacement is null, delete the child, which may also delete the parent, or make the parent into a non-container.

Implemented in hocon::simple_config_object, hocon::config_delayed_merge_object, hocon::config_delayed_merge, hocon::config_concatenation, and hocon::simple_config_list.


The documentation for this class was generated from the following file: