edmiGetLowerBound

EdmiError edmiGetLowerBound(SdaiAggr    aggr,
                             SdaiInteger *lowerBound); 

Returns the declared lower index of an ARRAY and the declared lower bound of a BAG, LIST or SET. See paragraph 15.13 in ISO 10303-11:1994(E) : The EXPRESS Language Reference Manual. The model that holds the actual aggregate must be open before this operation can be successfully performed.

 

Arguments


TypeNameComment
SdaiAggr

aggr

A numeric aggregateID that uniquely identifies the aggregate of interest in the EDMdatabase. The aggregateID is returned when the aggregate is created or it can be retrieved with an EDMinterface get operation.

SdaiInteger

lowerBound

An integer number is returned which specifies the lower bound of the specified aggregate <aggr>.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

Example


 

 SdaiAggr aggr;
 SdaiInteger lowerBound;
 EdmiError rstat;
 . . .
 if (rstat = edmiGetLowerBound (aggr, &lowerBound)) {
 /* Error in operation */ 
 printf("\nError: %s in edmiGetLowerBound\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 /* print lower bound of aggregate */
 printf("\nLower bound of aggregate: %lu is %ld",aggr,lowerBound);
 . . .

 

See also

Filter by label

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

Â