14 #ifndef __PRM_ParmOwner__
15 #define __PRM_ParmOwner__
72 {
return myParmList; }
75 {
return myParmList; }
77 virtual bool createSpareParametersForLoad(
83 virtual void resolveAndDeleteObsoleteParmList(
89 virtual void executeCommand(
const char *command,
91 std::ostream *err)
const = 0;
97 pushAsPwd()
const = 0;
103 return myIsPendingOverride;
109 return isPendingOverride();
113 return (
const char *) myOverridePending;
115 void setPendingOverrideString(
const char *
s);
124 virtual void takeAutoActivateParm(
PRM_Parm *) = 0;
129 virtual void rebuildParmDependency(
int parmidx) = 0;
132 virtual void clearParmDependency(
int parmidx) = 0;
136 virtual void convertOpdefToAbsolutePath(
UT_String &str)
const = 0;
142 virtual void spareParmRemoved(
const char *parmname) = 0;
149 virtual void addOrRemoveMultiparmInstance() = 0;
151 virtual bool savePresetContents(std::ostream &os) = 0;
152 virtual bool loadPresetContents(
const char *token,
170 int parm_idx,
int vec_idx)
const = 0;
174 : myIsPendingOverride(false)
182 int64 mem = inclusive ?
sizeof(*this) : 0;
183 mem += myOverridePending.getMemoryUsage(
false);
194 bool myIsPendingOverride;
GLenum GLuint GLenum GLsizei const GLchar * buf
virtual UT_ErrorSeverity prmCookOverrides(fpreal, int, const char *, int)
const char * getFullPath(UT_WorkBuffer &str) const
virtual int64 getMemoryUsage(bool inclusive) const
GT_API const UT_StringHolder time
virtual const OP_Node * castToOPNode() const
SYS_FORCE_INLINE const char * buffer() const
void copyIntoString(UT_String &str) const
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
const char * buffer() const
const char * getFullPath(UT_String &str) const
#define SYS_NO_DISCARD_RESULT
UT_StringHolder getFullPath() const
PRM_ParmList * myParmList
bool isPendingOverride() const
virtual OP_Node * castToOPNode()
SYS_FORCE_INLINE PRM_ParmList * getParmList()
SYS_FORCE_INLINE const PRM_ParmList * getParmList() const
virtual bool isParmPendingOverride(const char *, int) const
const char * getPendingOverrideString() const