29 #include <MemoryX/interface/memorytypes/MemorySegments.h>
35 virtual public RelationMemorySegmentBase
38 RelationBasePtr getRelationById(const ::std::string&
id, const ::Ice::Current& = Ice::emptyCurrent)
const override;
40 RelationList getRelationsByName(const ::std::string& name, const ::Ice::Current& = Ice::emptyCurrent)
const override;
42 RelationList getRelationsBySign(
bool sign, const ::Ice::Current& = Ice::emptyCurrent)
const override;
44 RelationList getRelationsByEntityId(const ::std::string& entityId, const ::Ice::Current& = Ice::emptyCurrent)
const override;
46 RelationList getRelationsByEntityRef(
const EntityRefBasePtr& entityRef, const ::Ice::Current& = Ice::emptyCurrent)
const override;
48 RelationList getRelationsByEntityRefs(
const EntityRefList& entities, const ::Ice::Current& = Ice::emptyCurrent)
const override;
50 RelationBasePtr getRelationByAttrValues(
const std::string& name,
const EntityRefList& entities,
bool sign, const ::Ice::Current& = Ice::emptyCurrent)
const override;
53 RelationList getRelationsByAttrValues(
const EntityRefList& entities,
const std::string& name =
"",
bool considerSign =
false,
bool sign =
true, const ::Ice::Current& = Ice::emptyCurrent)
const;
57 std::string addEntity(
const EntityBasePtr& entity,
const Ice::Current&)
override;
58 void updateEntity(
const std::string&
id,
const EntityBasePtr& entity,
const Ice::Current&)
override;
62 void removeRelations(
const std::string& name,
const Ice::Current&)
override;
63 void replaceRelations(
const RelationList& newRelations,
const Ice::Current&)
override;