|
#include <MemoryX/libraries/workingmemory/fusion/AttributeReplacementFusion.h>
Public Member Functions | |
AttributeReplacementFusion () | |
Creates a new AttributeEnrichementFusion. More... | |
EntityBasePtr | fuseEntity (const EntityBasePtr &baseEntity, const EntityBasePtr &updateEntity, const ::Ice::Current &) override |
Copies attributes from the update entity to the stored entity. More... | |
Public Member Functions inherited from EntityFusionMethod | |
EntityFusionMethod (std::string methodName) | |
Constructs a new fusion method. More... | |
std::string | getMethodName (const ::Ice::Current &=Ice::emptyCurrent) const override |
EntityBasePtr | initEntity (const EntityBasePtr &updateEntity, const ::Ice::Current &=Ice::emptyCurrent) override |
Initialization of an entity. More... | |
Definition at line 35 of file AttributeReplacementFusion.h.
|
inline |
Creates a new AttributeEnrichementFusion.
Definition at line 42 of file AttributeReplacementFusion.h.
|
inlineoverridevirtual |
Copies attributes from the update entity to the stored entity.
Replaces existing attributes and adds those which have not been present so far.
baseEntity | base entity for fusion |
updateEntity | entity to be fused with base entity |
Implements EntityFusionMethod.
Definition at line 55 of file AttributeReplacementFusion.h.