API Reference > Functions > SDAI > sdaiFindInstanceRolesOf Function
sdaiFindInstanceRolesOf Function
Syntax
C++
DAI_EXPORT SdaiNPL sdaiFindInstanceRolesOf(SdaiInstance instance, SdaiNPL domain, SdaiNPL resultList);

sdai.h

Parameters 
Description 
SdaiInstance instance 
[in] Identifier of the entity instance whose roles are requested.  
SdaiNPL domain 
[in] Identifier of a NPL containing the SdaiSchemaInstance identifiers of the schema instances that define the domain of the function request.  
SdaiNPL resultList 
[in/out] Identifier of the pre-existing NPL to which SdaiAttr identifiers of the entity instances that reference the specified entity instance are appended.  

Identifier of the result NPL.

Retrieves the identifiers of the attributes of entity instances referencing the specified entity instance. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.