edmiListXMLConfigurations
Â
EdmiError edmiListXMLConfigurations(SdaiSchema schemaId, SdaiInstance **xmlConfigurationIds, SdaiString **xmlConfigurationNames, SdaiInteger *numberOfConfigsReturned);
Returns all XML Configurations for a given Express schema in the EDMdatabase.
Arguments
Type | Name | Comment |
SdaiSchema | SchemaId | The schemaID that uniquely identifies the Express schema in an EDMdatabase for which XML Configurations shall be listed. |
SdaiInstance | **xmlConfigurationIds | The address of an SdaiInstance pointer that will receive the the address of an allocated buffer containing numberOfConfigsReturned XML Configuration Ids. Use edmiFree to release the allocated memory. |
SdaiString | **xmlConfigurationNames | The address of an SdaiString pointer that will receive the the address of an allocated buffer containing numberOfConfigsReturned allocated XML Configuration Names. Use edmiFree to release each of the allocated allocated XML Configuration Names as well as the SdaiString pointer buffer it self. |
SdaiInteger | *numberOfConfigsReturned | The number of XML Configurations listed for the Express Schema. |
Return Value
Options
Â
Example
Â
 EdmiError rstat; SdaiInteger i; SdaiSchema schemaId; SdaiModel modId; SdaiInstance *pXmlConfigIds; SdaiString *pXmlConfigNames; SdaiInteger nXmlConfigs; . . . rstat = edmiGetSchema("City", &schemaId); modId = edmiGetModelBN("London", "Block34"); if (rstat = edmiListXMLConfigurations(schemaId, &pXmlConfigIds, &pXmlConfigNames, &nXmlConfigs )) { printf("\nError %d in edmiListXMLConfigurations: %s", rstat, edmiGetErrorText(rstat)); goto Error; } /* Print XML Configurations */ for (i=0; i<nXmlConfigs; i++) { printf("\nXml Configuration Id - name: %d : %s", *(pXmlConfigIds+i), *(pXmlConfigNames+i)); edmiFree(pXmlConfigNames+i); } edmiFree(pXmlConfigIds); edmiFree(pXmlConfigNames); . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â