...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError _CDECL edmiGetExtensionSchemaExtendedEntities (SdaiSchema expressSchemaId, SdaiInteger extensionSchemaId, /* When extensionSchemaId = 0, entities extended by any extension schemata for schema will be returned */ SdaiInteger *numberOfExtendedEntities, SdaiInstance **extendedEntitiesIds); /* extendedEntitiesIds should be freed (edmiFree()) by caller */ EdmiError _CDECL edmiGetEntityExtensionAttributes (SdaiEntity entityId, SdaiInteger extensionSchemaId, /* When extensionSchemaId = 0, all extension attributes of entityId of all extension schema for schema will be returned */ SdaiInteger *numberOfAttributes, SdaiInstance **attributeIds); /* attributeIds should be freed (edmiFree()) by caller */ EdmiError _CDECL edmiGetExtendedAttributesOfInstance (SdaiInstance currInst, SdaiInteger *numberOfExtededAttributes, SdaiInstance **extendedAttributesIds); /* attributeIds should be freed (edmiFree()) by caller */ SdaiModel _CDECL edmiCreateModelWithExtensionSchemataBN (SdaiString repositoryName, SdaiString modelName, SdaiString schemaName, SdaiOptions options, SdaiInteger numberOfExtensionSchemata, SdaiString *extensionSchemataNames); /* String array (buffer) of extension schema names. May be NULL */ EdmiError _CDECL edmiGetModelsUsingExtensionSchema (SdaiSchema expressSchemaId, SdaiInteger extensionSchemaId, /* optional; When not set, models using any extension schemata of schema will be returned */ SdaiInteger *numberOfModels, SdaiInstance **modelsIds); /* modelsIds should be freed (edmiFree()) by caller */ EdmiError _CDECL edmiGetExtensionSchemataUsedByModel (SdaiModel modelId, SdaiInteger *numberOfExtensionSchemata, SdaiString **extensionSchemataNames, /* Optionsl; Extension schema names. extensionSchemataNames must be freed by caller */ SdaiInteger **extensionSchemataIds); /* Optional; Extension schemata ids. extensionSchemataIds must be freed by caller */ EdmiError _CDECL edmiGetAttrDefinitionOfInstance (SdaiInstance currInst, SdaiString attributeName, /* valid also for extended attributes */ SdaiAttr *attrId); |
Use this function to get attribute metainformation for attribute declared in an extension schemata for an EXPRESS schema.
...