CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdFdFieldEvaluatorLoader Class Referenceabstract

#include <FdField.h>

Inheritance diagram for OdFdFieldEvaluatorLoader:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdFdFieldEvaluatorLoader)
 
virtual OdFdFieldEvaluatorgetEvaluator (const OdString &pszEvalId)=0
 
virtual OdFdFieldEvaluatorfindEvaluator (OdDbField *pField, OdString &pszEvalId)=0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class is used to load the evaluators required for evaluating fields.

Remarks
This class acts as the interface between the field framework and the applications that implement evaluators. An application that implements evaluators should derive from this class and register an object of this class with the field engine when the application is loaded. The registered loader is used by the engine to obtain the evaluator object. Only one loader object is required for an application and it can support multiple evaluators. The loader objects are maintained globally and are used by all open documents. <group Other_Classes>

Definition at line 174 of file FdField.h.

Member Function Documentation

◆ findEvaluator()

virtual OdFdFieldEvaluator* OdFdFieldEvaluatorLoader::findEvaluator ( OdDbField pField,
OdString pszEvalId 
)
pure virtual

Finds an evaluator for a field that does not have an evaluator ID.

Parameters
pField[in] Input field for which to find an evaluator
pszEvalId[out] Output pointer to receive the evaluator ID

◆ getEvaluator()

virtual OdFdFieldEvaluator* OdFdFieldEvaluatorLoader::getEvaluator ( const OdString pszEvalId)
pure virtual

The field engine calls this method to get the evaluator using the evaluator ID and uses the evaluator to evaluate the field.

Parameters
pszEvalId[in] Input evaluator ID for which the evaluator is required

◆ ODRX_DECLARE_MEMBERS()

OdFdFieldEvaluatorLoader::ODRX_DECLARE_MEMBERS ( OdFdFieldEvaluatorLoader  )

The documentation for this class was generated from the following file: