edmiIsAggrSuperset
Â
EdmiError edmiIsAggrSuperset(SdaiAggr operand1, SdaiAggr operand2, SdaiLogical *result);
This operation implements the aggregate superset operation in the Express language, defined in 12.6.6 Subset operator in ISO 10303-11:1994(E) : The EXPRESS Language Reference Manual. The data model(s) that hosts the two specified aggregates must be open before this operation can be successfully performed.
Â
Arguments
Type | Name | Comment |
SdaiAggr | operand1 | A numeric aggregateID that uniquely identifies the aggregate instance used as the left operand (operand1) in the aggregate superset operation. The aggregateID is returned when the aggregate is created or it can be retrieved with an EDMinterface get operation. |
SdaiAggr | operand2 | A numeric aggregateID that uniquely identifies the aggregate instance used as the right operand (operand2) in the aggregate superset operation. The aggregateID is returned when the aggregate is created or it can be retrieved with an EDMinterface get operation.. |
SdaiLogical | result | Address of a SdaiLogical variable that will receive the result of the aggregate subset operation. The result is as follows:
|
Return Value
Options
Â
Example
Â
SdaiAggr operand1, operand2; EdmiError rstat; SdaiLogical result; . . . if (rstat = edmiIsAggrSuperset (operand1, operand2, &result)) { /* Error in operation */ printf("\nError: %s in edmiIsAggrSuperset\n", edmiGetErrorText(rstat)); goto error; } switch (result) { case sdaiTRUE: . . . /* operand1 is a superset operand2 */ break; case sdaiFALSE: . . . /* operand1 is not a superset of operand2 */ break; default: . . . /* One or more unset value found in operation */ } . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
 Â