Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
FUNCTION xpfAddToAggrIfNotInAggr (aggr        :   AGGREGATE OF GENERIC;   
                                  elementvalue       :   GENERIC)
                                  inserted    :   BOOLEAN;
                

Use this function to add an instance to aggregate the given 'value' to the specified aggregate 'aggr' if the aggregate does not have an element with the same instancevalue.

xpfAddToAggrIfNotInAggr(aggr, element) for instances and aggregate of instances performs the same asThe argument 'aggr' can be any type of aggregate except ARRAY. The argument 'value' can be any of the following data statements:

...

types: sdaiINSTANCE, sdaiINTEGER, sdaiREAL, sdaiSTRING and "typed value" of sdaiINTEGER, sdaiREAL, sdaiSTRING


Arguments

...

TypeNameComment
AGGREGATE OF GENERICaggrIdaggregate of some instances, that requires to be unique
GENERICinstanceIdinstance id of new element 

...