Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/diff/diff-language.hpp"
generic builder to apply a diff description to a given target data structure.
The usage pattern is as follows #. construct a DiffApplicator instance, wrapping the target data #. feed the diff (sequence of diff verbs) to the #consume function #. the wrapped target data has been altered, to conform to the given diff
Definition at line 293 of file diff-language.hpp.
Public Member Functions | |
DiffApplicator (TAR &targetStructure) | |
template<class DIFF > | |
void | consume (DIFF &&diff) |
Private Types | |
using | Interpreter = DiffApplicationStrategy< TAR > |
Private Attributes | |
Interpreter | target_ |
Additional Inherited Members | |
Private Member Functions inherited from NonCopyable | |
NonCopyable (NonCopyable const &)=delete | |
NonCopyable & | operator= (NonCopyable const &)=delete |