Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

FUNCTION xpfFindAggrElements (aggrId               : AGGREGATE OF GENERIC;
                              condition            : STRING; 
                              firstIndex, maxHits  : INTEGER;
                              VAR indexOfLastFound : INTEGER;
                              VAR actualHits       : INTEGER)
                              resultAggrId         : LIST OF INTEGER;
                

The xpfFindAggrElements function search in the specified aggregate, as specified in the <aggrId> argument, for elements that matches the specified conditions. All elements in the specified aggregate will match an empty condition, i.e. the <condition> argument set to NULL. Each matching element is identified by the element index. The index of the first aggregate element to test for matching the specified condition, and the maximum number of matching elements to return, are specified as input arguments to the function. The actual number of matching elements, argument <actualHits>, and the ?index of the last returned matching element in the aggregate?, argument <indexOfLastFound>, are returned from the operation. This makes it convenient to query an aggregate by the xpfFindAggrElements function in an incremental way. The actual model hosting the specified aggregate to query must be open before this operation can be successfully performed.

Arguments


TypeNameComment
AGGREGATE OF GENERICaggrIdcomments
STRINGcondition 
INTEGERfirstIndex 
INTEGERmaxHits 
INTEGERindexOfLastFound 
INTEGERactualHits 

Return Value


 

TypeNameComment
LIST OF INTEGERresultAggrIdcomments

Options


 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.

 

  • No labels