API Reference > Other Classes > OdFdFieldEvaluator Class > OdFdFieldEvaluator Methods > OdFdFieldEvaluator::format Method
OdFdFieldEvaluator::format Method
Syntax
C++
virtual OdResult format(OdDbField* pField, OdString& pszValue) const = 0;
Parameters 
Description 
OdDbField* pField 
[in] Field whose value is to be formatted.  
OdString& pszValue 
[out] Pointer to the string that is the field value formatted as a string. 

This function is called by the field framework when a field is queried to get the evaluated field value as a string.

The evaluator can implement this method to support custom formatting of field values. If the evaluator does not implement this method, the standard data types will be formatted using default formats.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.