API Reference > OdDAI Namespace > Classes > ApplicationInstance Class > ApplicationInstance Methods > validateWhereRule Method > ApplicationInstance::validateWhereRule Method (WhereRule *)
ApplicationInstance::validateWhereRule Method (WhereRule *)
Syntax
C++
Logical validateWhereRule(const WhereRule * ruleDef) const;
Parameters 
Description 
const WhereRule * ruleDef 
[in] A raw pointer to the constraint (Where-Rule) object. 
  • true if the constraint is satisfied.
  • false if the constraint is violated.
  • Unknown if the constraint's expression is unknown or is not defined.

Checks the constraint (Where-Rule) for the application instance. The constraint (Where-Rule) is defined within the application entity definition or within a parent application entity definition.

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