69 int inputs,
int outputs);
87 template <
typename... TYPE>
88 void setInputs(TYPE... inputs);
91 template <
typename... TYPE>
92 void setOutputs(TYPE... outputs);
100 bool abort_on_impossible =
false)
const;
104 void setNumberOfInputs(
int inputs);
107 void setNumberOfOutputs(
int outputs);
114 int getNumberOfInputs()
const;
116 int getNumberOfOutputs()
const;
127 bool inputsMatchOutputs(
int i_start = 0,
int o_start = 0)
const;
139 void removeInput(
int index);
141 void removeOutput(
int index);
155 friend class COP_OperatorInfo;
void setLabel(const UT_StringHolder &label)
Changes label for this signature.
void setName(const UT_StringHolder &name)
Changes name of this signature.
GLuint GLsizei const GLchar * label
const UT_StringHolder & getName() const
Returns the internal name of this signature.
UT_StringHolder myName
The signature's internal name.
COP_API bool COPtypeIsConvertible(COP_Type src, COP_Type dst)
Returns true if src is implicitly convertible to dst.
COP_Signature()
same as COP_Signature("default", "Default")
UT_Array< COP_Type > myOutputTypes
List of output types for this signature.
COP_API COP_Type COPtype(const COP_PortData &)
Type of data that was output by a COP_Verb.
GLint GLint GLsizei GLint GLenum format
GLuint const GLchar * name
UT_StringHolder myLabel
The signature's label.
COP_API COP_Type COPtypeFromLabel(const char *label)
COP_Type
Types of basic data that are passed around a COP network.
const UT_StringHolder & getLabel() const
Returns the English label for this signature.
UT_Array< COP_Type > myInputTypes
List of input types for this signature.
COP_API int COPtypeChannels(const COP_Type t)
COP_API const char * COPtypeLabel(COP_Type t)