API Reference > Functions > SDAI > sdaiIsSubtypeOf Function
sdaiIsSubtypeOf Function
Syntax
C++
DAI_EXPORT SdaiBoolean sdaiIsSubtypeOf(SdaiEntity subtype, SdaiEntity supertype);

sdai.h

Parameters 
Description 
SdaiEntity subtype 
[in] A subtype to check.  
SdaiEntity supertype 
[in] A supertype to check.  

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-2021. Open Design Alliance. All rights reserved.