Default language.

ARMultiSchemaFuncArithOpStruct


Represents the result value from an arithmetic operation, and allows you to specify the aggregate function to use, if any.


typedef struct ARMultiSchemaFuncArithOpStruct {
    unsigned int                                 operation;
    ARMultiSchemaFieldFuncValueOrArithStruct     operandLeft;
    ARMultiSchemaFieldFuncValueOrArithStruct     operandRight;
} ARMultiSchemaFuncArithOpStruct;


This structure has these elements:

Element

Description

operation

Integer that specifies the type of relational operation to perform:

  • 1AR_ARITH_OP_ADD (Adds the left and right operands)
  • 2AR_ARITH_OP_SUBTRACT (Subtracts the right operand from the left operand)
  • 3AR_ARITH_OP_MULTIPLY (Multiplies the left and right operands)
  • 4AR_ARITH_OP_DIVIDE (Divides the left operand by the right operand)
  • 5AR_ARITH_OP_MODULO (Finds the remainder after dividing the left operand by the right operand)
  • 6AR_ARITH_OP_NEGATE (Changes the sign of the right operand; ignores the left operand)
operandLeft

Holds information for the left operand.

operandRight

Holds information for the right operand.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

Remedy Action Request System 20.02