libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
ConfigMerge Class Reference

Just a namespace to provide merging functions. More...

#include <configmergevisitor.hh>

Static Public Member Functions

static bool mergeInto (Config *destination, Config *source, ConfigMergeVisitor::ItemStrategy itemStrategy=ConfigMergeVisitor::ItemStrategy::Ignore, ConfigMergeVisitor::SetStrategy setStrategy=ConfigMergeVisitor::SetStrategy::Ignore, const ErrorStack &err=ErrorStack())
 Merges the given source into the given destination using the specified strategies to handle conflicts.
 
static Configmerge (Config *destination, Config *source, ConfigMergeVisitor::ItemStrategy itemStrategy=ConfigMergeVisitor::ItemStrategy::Ignore, ConfigMergeVisitor::SetStrategy setStrategy=ConfigMergeVisitor::SetStrategy::Ignore, const ErrorStack &err=ErrorStack())
 Merges the given source into a copy of the given destination, using the specified strategies to handle conflicts.
 

Detailed Description

Just a namespace to provide merging functions.

Member Function Documentation

◆ merge()

Merges the given source into a copy of the given destination, using the specified strategies to handle conflicts.

Here the destination codeplug does not get modified at all.

◆ mergeInto()

bool ConfigMerge::mergeInto ( Config * destination,
Config * source,
ConfigMergeVisitor::ItemStrategy itemStrategy = ConfigMergeVisitor::ItemStrategy::Ignore,
ConfigMergeVisitor::SetStrategy setStrategy = ConfigMergeVisitor::SetStrategy::Ignore,
const ErrorStack & err = ErrorStack() )
static

Merges the given source into the given destination using the specified strategies to handle conflicts.

Here the destination codeplug gets modified, even on errors.


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