Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdMvdXmlConceptTemplate::checkInstance Method
Syntax
C++
OdResult checkInstance(const OdDAI::ApplicationInstance* pInstance, bool& result) const;

Checks whether a specified instance meets all constraints defined within the Concept Template object.

Parameters
Description
pInstance
[in] A raw pointer to the application instance to check up.
result
[out] A placeholder for the checkup result, represented with a boolean value.

eOk if the instance was successfully checked; otherwise, the method returns an appropriate error code.

If any of the required data is missing or violates any of the constraints, the checkup fails, and the output result parameter value equals false. If the checkup procedure fails itself, the value of the output parameter with the checkup result has an undefined value.

Copyright © 2002-2022. Open Design Alliance All rights reserved.