Ceetron Result Calculator Framework
Public Member Functions | List of all members
CRCCalculatorMetaData Class Referenceabstract

Contains information on which results this calculator depends on in order to do its computations, as well as the result the calculator produces. More...

Public Member Functions

virtual void setOutputResultType (CRCResultType resultType)=0
 Set what kind of result to be calculated.
 
virtual void setOutputResultName (const CRCString &resultName)=0
 Set the name of the calculated result.
 
virtual void setOutputResultIdString (const CRCString &idString)=0
 Set the idString of the calculated result. More...
 
virtual void addInputResultIndex (crc_size_t resultIndex)=0
 Add result to be used as input value to the calculation. The specified resultIndex is the index of the result into the array of CRCResultInfo objects in CRCHostMetaData. The first input result added will be the first result in the input array that will later be passed to the calculateValue() function.
 

Detailed Description

Contains information on which results this calculator depends on in order to do its computations, as well as the result the calculator produces.

Member Function Documentation

void CRCCalculatorMetaData::setOutputResultIdString ( const CRCString idString)
pure virtual

Set the idString of the calculated result.

Note: If the CRCInitOptions::resultIdString() passed to CRCResultCalculator::initialize() is not blank, the string provided here must either be blank or match the CRCInitOptions::resultIdString(). If not, instancing of the calculator will fail.


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