Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdFdFieldEvaluator::compile Method
Syntax
C++
virtual OdResult compile(OdDbField* pField, OdDbDatabase* pDb, OdFdFieldResult* pResult) const = 0;

This function is called by the field framework to compile a field when the field code is changed.

Parameters
Description
pField
[in] Input field to compile.
pDb
[in] Input database pointer.
pResult
[in] Input field result object to set the compilation status.

The evaluator can do any parsing of the field code here and store the parsed data in the field. This method will be called only when the field code is changed, unlike evaluate(), which is called whenever the field needs to be evaluated.

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