Server
API Reference Guide
Product Documentation:

Visualization Server
Documentation Home
List of all members | Public Member Functions
IlsOptionalRelation Class Reference

Base class for relation that may be optional or mandatory. More...

#include <ilserver/model.h>

Inheritance diagram for IlsOptionalRelation:
IlsArrayRelation IlsSimpleRelation IlsDynamicArrayRelation IlsOwnsFixedArray< OwnerType, OwnedType, size > IlsUsesFixedArray< UserType, UsedType, size > IlsOwns< OwnerType, OwnedType > IlsOwns< IlsDynObject, IlsObject > IlsUses< UserType, UsedType > IlsUses< IlsDynObject, IlsUsed > IlsOwnsDynamicArray< OwnerType, OwnedType > IlsUsesDynamicArray< UserType, UsedType >

Public Member Functions

IlsRelationId getIdentifier () const
 
IlsBoolean isMandatory ()
 Returns IlsTrue if the relation is mandatory. Otherwise, it returns IlsFalse. When a relation is mandatory, a cut applied to the target of the relation is propagated to its origin. By default, the function returns IlsFalse for n-ary relations and IlsTrue for unary relations.
 

Detailed Description

Base class for relation that may be optional or mandatory.

Member Function Documentation

◆ getIdentifier()

IlsRelationId IlsOptionalRelation::getIdentifier ( ) const
\short Returns the relation identifier.