Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
Validator::createObject Method
Syntax
C++
static OdSmartPtr<Validator> createObject(OdDAI::InstanceValidationContextPtr & validationContext, OdDAIHostAppServicesBase* pSevices, bool createTimer = false);

Creates a new validator associated with a specified validation context object.

Parameters
Description
validationContext
[in] A smart pointer to the validation context object.
pSevices
[in] A raw pointer to an OdDAIHostAppServicesBase object that implements platform specific operation for Data Access Interface.
createTimer
[in] A flag that determines whether the validation timer is created when a new validator is created (equals true) or not (equals false).

A smart pointer to the created validator.

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