AttributeReplacementFusion Class Reference

#include <MemoryX/libraries/workingmemory/fusion/AttributeReplacementFusion.h>

+ Inheritance diagram for AttributeReplacementFusion:

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...
 

Detailed Description

Definition at line 35 of file AttributeReplacementFusion.h.

Constructor & Destructor Documentation

◆ AttributeReplacementFusion()

Creates a new AttributeEnrichementFusion.

Definition at line 42 of file AttributeReplacementFusion.h.

Member Function Documentation

◆ fuseEntity()

EntityBasePtr fuseEntity ( const EntityBasePtr &  baseEntity,
const EntityBasePtr &  updateEntity,
const ::Ice::Current &   
)
inlineoverridevirtual

Copies attributes from the update entity to the stored entity.

Replaces existing attributes and adds those which have not been present so far.

Parameters
baseEntitybase entity for fusion
updateEntityentity to be fused with base entity
Returns
fused entity

Implements EntityFusionMethod.

Definition at line 55 of file AttributeReplacementFusion.h.


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