This class is used to instantiate a new dynamic relation. More...
#include <ilserver/dynobj.h>
Public Member Functions | |
virtual IlsDynRelation * | newInverseRelation (IlsDynObject &obj, const IlsRelationDef &relDef, IlsDynRelation::RelationImplementation impl=IlsDynRelation::ILS_REL_LIST) |
Returns a new instance of an inverse dynamic relation, depending on the implementation passed as the third argument. | |
virtual IlsDynRelation * | newNaryRelation (IlsDynObject &obj, const IlsRelationDef &relDef, IlsRelationId id, IlsBoolean owns=IlsTrue, IlsDynRelation::RelationImplementation impl=IlsDynRelation::ILS_REL_LIST) |
Returns a new instance of an n-ary dynamic relation, depending on the implementation passed as the fourth argument. | |
virtual IlsDynRelation * | newUnaryRelation (IlsDynObject &obj, const IlsRelationDef &relDef, IlsRelationId id) |
Returns a new instance of a unary dynamic relation. | |
virtual IlsDynRelation * | newUnaryServerRelation (IlsDynObject &obj, const IlsRelationDef &relDef, IlsRelationId id, IlsBoolean owns=IlsTrue, IlsBoolean mandatory=IlsTrue) |
Returns a new instance of a unary server dynamic relation that can be implemented as an IlsOwns or IlsUses relation, depending on the relation definition passed as the second argument. | |
This class is used to instantiate a new dynamic relation.
Library: dynmvsvr
To create your own factory, make a subclass of this class and install it using the member function IlsDynObjectFactory::setRelationFactory()
.
IlsDynRelation
, IlsDynRelations
, IlsDynAttributeFactory
.