Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
MaterialisedDiffBuffer Class Reference

#include "lib/diff/mutation-message.hpp"

Description

Decorator to be layered transparently on top of MutationMessage.

Actually, what we do is to discharge the diff generator into the DiffSnapshot buffer and then replace the link to the original generator to this decorator, which, when iterated, yields the contents of the DiffSnapshot one by one. But since all DiffSteps are now stored into that DiffSnapshot buffer we control, we're able to produce a diagnostic listing of the complete sequence.

Definition at line 225 of file mutation-message.hpp.

Public Member Functions

 MaterialisedDiffBuffer (MutationMessage &srcMsg)
 
virtual operator string () const override
 is ABC
 
- Public Member Functions inherited from WrappedLumieraIter< IT, ISO >
 WrappedLumieraIter (IT const &orig)
 
 WrappedLumieraIter (IT &&orig)
 
- Public Member Functions inherited from IterSource< TY >
virtual ~IterSource ()
 

Additional Inherited Members

- Public Types inherited from IterSource< TY >
using value_type = TY
 
using reference = TY &
 
using pointer = TY *
 
- Static Public Attributes inherited from IterSource< TY >
static iterator EMPTY_SOURCE = iterator()
 storage for the empty data-source constant
 
- Static Public Member Functions inherited from IterSource< TY >
static iterator build (IterSource &sourceImpl)
 build an iterator frontend for the given source,
 
static iterator build (IterSource *sourceImplObject)
 build an iterator frontend, thereby managing the given heap allocated source object instance.
 
- Protected Types inherited from WrappedLumieraIter< IT, ISO >
using Pos = ISO::Pos
 
- Protected Types inherited from IterSource< TY >
using Pos = TY *
 
using DataHandle = shared_ptr< IterSource >
 
- Protected Member Functions inherited from WrappedLumieraIter< IT, ISO >
Pos firstResult ()
 iteration start: prepare the first element.
 
void nextResult (Pos &pos)
 
IT & wrappedIter ()
 
IT const & wrappedIter () const
 
- Protected Member Functions inherited from IterSource< TY >
virtual void nextResult (Pos &pos)=0
 iteration step: switch on to the next element.
 
virtual void disconnect ()
 disconnect the data source / iteration frontend.
 
- Private Member Functions inherited from DiffSnapshot
 DiffSnapshot (MutationMessage &srcMsg)
 

Constructor & Destructor Documentation

◆ MaterialisedDiffBuffer()

Definition at line 230 of file mutation-message.hpp.

Member Function Documentation

◆ operator string()

virtual operator string ( ) const
inlineoverridevirtual

is ABC

< subclasses may offer diagnostics

Reimplemented from IterSource< TY >.

Definition at line 236 of file mutation-message.hpp.

References util::join().

+ Here is the call graph for this function:
+ Inheritance diagram for MaterialisedDiffBuffer:
+ Collaboration diagram for MaterialisedDiffBuffer:

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