AttributeReplacementFusion Class Reference

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

+ Inheritance diagram for AttributeReplacementFusion:

Public Member Functions

 AttributeReplacementFusion ()
 Creates a new AttributeEnrichementFusion.
 
EntityBasePtr fuseEntity (const EntityBasePtr &baseEntity, const EntityBasePtr &updateEntity, const ::Ice::Current &) override
 Copies attributes from the update entity to the stored entity.
 
- Public Member Functions inherited from EntityFusionMethod
 EntityFusionMethod (std::string methodName)
 Constructs a new fusion method.
 
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.
 

Constructor & Destructor Documentation

◆ AttributeReplacementFusion()

Creates a new AttributeEnrichementFusion.

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.


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