# CRCCalculatorMetaData

## Functions

void | `setOutputResultType`
void | `setOutputResultName`
void | `setOutputResultIdString`
void | `addInputResultIndex`

## Detailed Description

class `CRCCalculatorMetaData`

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

  Public Functions

  virtual void `setOutputResultType`(CRCResultType resultType) = 0

    Sets what kind of result to be calculated.

  virtual void `setOutputResultName`(const CRCString &resultName) = 0

    Sets the name of the calculated result.

  virtual void `setOutputResultIdString`(const CRCString &idString) = 0

    Sets 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.

  virtual void `addInputResultIndex`(crc_size_t resultIndex) = 0

    Adds 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.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Desktop in your own language, or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...