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);
101 const char *getInputName(
int idx)
const;
102 const char *getInputLabel(
int idx)
const;
103 bool getInputIsReference(
int idx)
const;
105 {
return myAllowsInputNameEditing; }
106 const char *getOutputLabel(
int idx)
const;
120 static void saveBlock(std::ostream &os,
const char *block,
121 const char *indent =
"\t");
124 int saveUnboundSelectors(std::ostream &os);
125 int saveReservedSelectors(std::ostream &os);
126 void saveHelp(std::ostream &os);
149 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
__hostdev__ uint64_t last(uint32_t i) const
bool allowsInputNameEditing() const
fpreal getUnitMass() const
void setLabel(const char *newlabel)
void setName(const char *newname)
void setUnitMass(fpreal l)