Public Member Functions | |
virtual const IDimensionExpr * | constant (int32_t value)=0 |
Return pointer to IDimensionExp for given value. More... | |
virtual const IDimensionExpr * | operation (DimensionOperation op, const IDimensionExpr &first, const IDimensionExpr &second)=0 |
Return pointer to IDimensionExp that represents the given operation applied to first and second. More... | |
Protected Member Functions | |
virtual | ~IExprBuilder () |
Object for constructing IDimensionExpr.
There is no public way to construct an IExprBuilder. It appears as an argument to method IPluginV2DynamicExt::getOutputDimensions(). Overrides of that method can use that IExprBuilder argument to construct expressions that define output dimensions in terms of input dimensions.
Clients should assume that any values constructed by the IExprBuilder are destroyed after IPluginV2DynamicExt::getOutputDimensions() returns.
|
inlineprotectedvirtual |
|
pure virtual |
Return pointer to IDimensionExp for given value.
|
pure virtual |
Return pointer to IDimensionExp that represents the given operation applied to first and second.
Returns nullptr if op is not a valid DimensionOperation.