Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
EdmiError edmiGetAggrDomain (SdaiAggr     aggrId,
                              SdaiInstance *domainId); 

Returns the domain of the specified aggregate. The domain of an aggregate is an entity instance of array_type, bag_type, list_type or set_type. These instance types (entities) are defined in the EDMmetaMetaModel named SDAI_DICTIONARY_MODEL_DICTIONARY_DATA.
The actual model that hosts the specified aggregate must be open before this operation can be successfully performed. Header:
#include "sdai.h"
Prototype:
EdmiError edmiGetAggrDomain (SdaiAggr     aggrId,
                              SdaiInstance *domainId); 
Arguments:

 

Arguments

...


TypeNameComment
SdaiAggr

aggrId

A numeric aggregateID that uniquely identifies the aggregate of interest in the EDMdatabase.

The aggregateID is returned when the aggregate is created.

SdaiInstance

domainId

Address of a variable that will receive a numeric instanceID that uniquely identifies the aggregate domain instance in an EDMdatabase

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
EdmiError rstat;
 SdaiAggr aggrId;
 SdaiInstance aggrDomainId;
 . . .
 if (rstat = edmiGetAggrDomain(aggrId, &aggrDomainId)) {
 /* Error in operation */ 
 printf("\nError: %s in edmiGetAggrDomain\n",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"