Creating and Copying a Constructor

Function Usage

Constructs the operator parameter definition (OpParamDef). OpParamDef is used to describe information about operator parameters, such as data type and format. In general, users do not directly construct OpParamDef; instead, they indirectly construct it through the Input and Output interfaces.

Prototype

1
2
explicit OpParamDef(const char *name);
OpParamDef(const OpParamDef &def);

Parameters

Parameter

Input/Output

Description

name

Input

Operator parameter name. Ensure that all parameter names of the same operator are different.

def

Input

A constructed operator parameter definition (OpParamDef) used to copy and construct a new OpParamDef object

Returns

None

Restrictions

None