oaEvalTextLink Class Reference


Public Methods

void destroy ()
IEvalText * getIEvalText () const

Static Public Methods

oaEvalTextLink * find (const oaString &name)
oaEvalTextLink * create (IEvalText *evalTextIn)

Friends

class IEvalText

Detailed Description

The oaEvalTextLink class implements the link between OpenAccess and an application-provided eval text evaluator implement though the IEvalText interfaces. When the eval text evaluator is provided in memory, the application needs to create the eval text link using oaEvalTextLink::create() to register with OpenAccess. For eval text evaluator provided through a plug-in module, oaEvalTextLink::find() can be used to create the link between OpenAccess and the IEvalText plugIn.


Member Function Documentation

oaEvalTextLink * oaEvalTextLink::create IEvalText *    evalTextIn [static]
 

This function creates the oaEvalTextLink object with the specified IEvalText.

Parameters:
evalTextIn a pointer to the IEvalText to create the link for
Exceptions:
oacEvalTextLinkExists 

void oaEvalTextLink::destroy  
 

This function destroys the oaEvalTextLink object and removes the link in OpenAccess.

oaEvalTextLink * oaEvalTextLink::find const oaString &    name [static]
 

This function trys to find an existing link associated with an IEvalText of the same name. If no existing link is found, one will be created by trying to load the plugIn with the same name.

Parameters:
name the name of the IEvalText

IEvalText * oaEvalTextLink::getIEvalText   const [inline]
 

This function returns the IEvalText that this link is associated with.


Friends And Related Function Documentation

friend class IEvalText [friend]
 


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

Return to top of page