31#include <MemoryX/interface/core/EntityBase.h>
32#include <MemoryX/interface/memorytypes/MemoryEntities.h>
33#include <MemoryX/interface/memorytypes/MemorySegments.h>
40 virtual public BodySchemaMemorySegmentBase
51 getOacById(const ::std::string&
id, const ::Ice::Current& = Ice::emptyCurrent)
const
57 getOacByName(const ::std::string& name, const ::Ice::Current& = Ice::emptyCurrent)
const
63 getAll(const ::Ice::Current& = Ice::emptyCurrent)
const
69 for (EntityIdList::const_iterator it = entityIdList.begin(); it != entityIdList.end();
76 result.push_back(oac);
120 OacPtr oacCast = OacPtr::dynamicCast(oac);
124 throw IceUtil::NullHandleException(
"Could not cast OacBase into Oac Ptr", 0);
129 throw armarx::LocalException(
"PersistentObjectClassSegmentBaseProxy is NULL");
132 SECObjectRelationsBasePtr pre = oacCast->getPredictionFunction()->getSECPreconditions();
133 SECObjectRelationsBasePtr post = oacCast->getPredictionFunction()->getSECEffects();
#define ARMARXCOMPONENT_IMPORT_EXPORT
BodySchemaMemorySegment(CollectionInterfacePrx entityCollection, Ice::CommunicatorPtr ic, bool useMongoIds=true)
OacBaseList getAll(const ::Ice::Current &=Ice::emptyCurrent) const
OacBasePtr getOacById(const ::std::string &id, const ::Ice::Current &=Ice::emptyCurrent) const
OacBasePtr replaceObjectDummies(OacBasePtr oac) const
replaceObjectDummies checks the objects class in the SEC part of an OAC and completes it with the rea...
PersistentObjectClassSegmentBasePrx objClassSegment
OacBasePtr completeOac(OacBasePtr oac) const
completeOac checks the data of an OAC and completes it with data from other segments (e....
OacBasePtr getOacByName(const ::std::string &name, const ::Ice::Current &=Ice::emptyCurrent) const
OacBasePtr replaceObjectDummies(OacBasePtr oac) const
replaceObjectDummies checks the objects class in the SEC part of an OAC and completes it with the rea...
PersistentObjectClassSegmentBasePrx objClassSegment
OacBasePtr completeOac(OacBasePtr oac) const
completeOac checks the data of an OAC and completes it with data from other segments (e....
PersistentEntitySegment(CollectionInterfacePrx entityCollection, Ice::CommunicatorPtr ic, bool useMongoIds=true)
EntityBasePtr getEntityById(const ::std::string &entityId, const ::Ice::Current &=Ice::emptyCurrent) const override
EntityIdList getAllEntityIds(const ::Ice::Current &=Ice::emptyCurrent) const override
EntityBasePtr getEntityByName(const ::std::string &name, const ::Ice::Current &=Ice::emptyCurrent) const override
static void ReplaceObjectDummies(SECObjectRelationsBasePtr objRelations, PersistentObjectClassSegmentBasePrx objClassSegment)
::IceInternal::Handle<::Ice::Communicator > CommunicatorPtr
IceInternal::Handle< Oac > OacPtr
IceInternal::Handle< OacMemorySegment > OacMemorySegmentPtr