Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Public Member Functions
IlsDynRelationFactory Class Reference

This class is used to instantiate a new dynamic relation. More...

#include <ilserver/dynobj.h>

Public Member Functions

virtual IlsDynRelationnewInverseRelation (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 IlsDynRelationnewNaryRelation (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 IlsDynRelationnewUnaryRelation (IlsDynObject &obj, const IlsRelationDef &relDef, IlsRelationId id)
 Returns a new instance of a unary dynamic relation.
 
virtual IlsDynRelationnewUnaryServerRelation (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.
 

Detailed Description

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

See also
IlsDynRelation, IlsDynRelations, IlsDynAttributeFactory.