API Reference > Functions > SDAI > sdaiIsSubtypeOfBN Function
sdaiIsSubtypeOfBN Function
Syntax
C++
DAI_EXPORT SdaiBoolean sdaiIsSubtypeOfBN(SdaiString schemaName, SdaiString subName, SdaiString superName);

sdai.h

Parameters 
Description 
SdaiString schemaName 
[in] A string that contains the schema name.  
SdaiString subName 
[in] A string that contains the name of the subtype to check.  
SdaiString superName 
[in] A string that contains the name of the supertype.  

sdaiTRUE if the specified entity has a type that is a subtype of the specified supertype; otherwise, the function returns sdaiFALSE.

Determines whether an entity definition is a subtype of another entity definition.

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