sdaiGetLowerBound
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.
Related functions: sdaiGetUpperBound , sdaiGetUpperIndex , sdaiGetLowerIndex , edmiGetUpperBound , edmiGetLowerIndex , edmiGetUpperIndex , edmiGetAggrDomain
Header:
#include "sdai.h"
Prototype:
SdaiInteger sdaiGetLowerBound(SdaiAggr aggr);
Arguments:
aggr |
A numeric aggregateID that uniquely identifies the aggregate of interest in the EDMdatabase. |
Returns:
The declared lower index of an ARRAY, or the declared lower bound of a BAG, LIST or SET.
Use sdaiErrorQuery to check for errors during operation.
Example:
SdaiInteger lowerBound;
SdaiAggr aggrId;
SdaiErrorCode errCode;
...
lowerBound = sdaiGetLowerBound(aggrId);
if (errCode = sdaiErrorQuery()) {
/* Error in operation */
printf("\nError: %s in sdaiGetLowerBound \n",
edmiGetErrorText(errCode));
goto error;
}
. . .