14 #ifndef __PI_EditScriptedOp__
15 #define __PI_EditScriptedOp__
35 int save(std::ostream &os);
36 void addPIName(
const char *
name);
37 int bindChannel(
const char *piname,
const char *chname);
38 bool hasBinding()
const;
66 int save(std::ostream &os,
74 int getNHandles()
const;
80 bool removeHandles(
int first,
int last);
84 { myLabel.harden(newlabel); }
86 { myName.harden(newname); }
88 { myScript.harden(newscript); }
89 void setInputName(
int idx,
const char *
name);
90 void setInputLabel(
int idx,
const char *
label);
91 void setInputIsReference(
int idx,
bool isref);
92 void setOutputLabel(
int idx,
const char *
label);
100 const char *getInputName(
int idx)
const;
101 const char *getInputLabel(
int idx)
const;
102 bool getInputIsReference(
int idx)
const;
104 {
return myAllowsInputNameEditing; }
105 const char *getOutputLabel(
int idx)
const;
119 static void saveBlock(std::ostream &os,
const char *block,
120 const char *indent =
"\t");
123 int saveUnboundSelectors(std::ostream &os);
124 int saveReservedSelectors(std::ostream &os);
125 void saveHelp(std::ostream &os);
147 bool myAllowsInputNameEditing;
GLuint GLsizei const GLchar * label
const OP_ScriptOperator * getOp() const
void setUnitLength(fpreal l)
UT_StringArray myChannelNames
void setScript(const char *newscript)
const UT_String & getWarning() const
GLsizei GLsizei GLchar * source
GLuint const GLchar * name
fpreal getUnitLength() const
bool allowsInputNameEditing() const
fpreal getUnitMass() const
void setLabel(const char *newlabel)
void setName(const char *newname)
void setUnitMass(fpreal l)