oa::OpContract

OpContract class in the OA Core public surface.

Public Methods

oa::Bool oa::OpContract::acceptsInputCount(oa::Usize inCount)
oa::Bool oa::OpContract::acceptsOutputCount(oa::Usize inCount)
oa::U8 oa::OpContract::aliasInputForOutput(oa::U32 inIndex)
oa::Bool oa::OpContract::hasVariadicInputs()
oa::Bool oa::OpContract::hasVariadicOutputs()
OpValueKind oa::OpContract::inputKindAt(oa::U32 inIndex)
oa::Bool oa::OpContract::isInputOptional(oa::U32 inIndex)
oa::Bool oa::OpContract::mutatesInput(oa::U32 inIndex)
OpValueKind oa::OpContract::outputKindAt(oa::U32 inIndex)

Public Data Members

attributeCountoa::U8field
attributeSignatureHashoa::U64field
controlFlowOpControlFlowfield
differentiationOpDifferentiationfield
dtypeRuleOpDtypeRulefield
effectsOpEffectfield
hashoa::U64field
inputCountoa::U8field
inputKindsoa::U32field
loweringOpLoweringfield
MaxAttributesconst oa::U8static
MaxValuesconst oa::U8static
minimumVariadicInputCountoa::U8field
minimumVariadicOutputCountoa::U8field
mutatedInputMaskoa::U8field
nameStringViewfield
NoAliasInputconst oa::U8static
optionalInputMaskoa::U8field
outputAliasInputsoa::U32field
outputCountoa::U8field
outputKindsoa::U32field
shapeRuleOpShapeRulefield
variadicInputKindOpValueKindfield
variadicOutputKindOpValueKindfield

Public Method Documentation

oa::Bool oa::OpContract::acceptsInputCount( oa::Usize inCount )
No public source comment is attached to this declaration.

Parameters

inCount
oa::Usize

Returns

oa::Bool

The declared return value.

oa::Bool oa::OpContract::acceptsOutputCount( oa::Usize inCount )
No public source comment is attached to this declaration.

Parameters

inCount
oa::Usize

Returns

oa::Bool

The declared return value.

oa::U8 oa::OpContract::aliasInputForOutput( oa::U32 inIndex )
No public source comment is attached to this declaration.

Parameters

inIndex
oa::U32

Returns

oa::U8

The declared return value.

oa::Bool oa::OpContract::hasVariadicInputs()
No public source comment is attached to this declaration.

Returns

oa::Bool

The declared return value.

oa::Bool oa::OpContract::hasVariadicOutputs()
No public source comment is attached to this declaration.

Returns

oa::Bool

The declared return value.

OpValueKind oa::OpContract::inputKindAt( oa::U32 inIndex )
No public source comment is attached to this declaration.

Parameters

inIndex
oa::U32

Returns

OpValueKind

The declared return value.

oa::Bool oa::OpContract::isInputOptional( oa::U32 inIndex )
No public source comment is attached to this declaration.

Parameters

inIndex
oa::U32

Returns

oa::Bool

The declared return value.

oa::Bool oa::OpContract::mutatesInput( oa::U32 inIndex )
No public source comment is attached to this declaration.

Parameters

inIndex
oa::U32

Returns

oa::Bool

The declared return value.

OpValueKind oa::OpContract::outputKindAt( oa::U32 inIndex )
No public source comment is attached to this declaration.

Parameters

inIndex
oa::U32

Returns

OpValueKind

The declared return value.