HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_EdgeEqualize.proto.h
Go to the documentation of this file.
1 /* Automagically Generated by generate_proto.py
2  * Do not Edit
3  */
4 #pragma once
5 
6 #include <SOP/SOP_NodeVerb.h>
7 #include <SOP/SOP_GraphProxy.h>
8 
9 #include <OP/OP_Utils.h>
10 #include <PRM/PRM_Parm.h>
11 #include <UT/UT_IStream.h>
12 #include <UT/UT_NTStreamUtil.h>
13 #include <UT/UT_Ramp.h>
14 #include <UT/UT_SharedPtr.h>
15 #include <UT/UT_StringHolder.h>
16 #include <UT/UT_StringStream.h>
17 #include <UT/UT_VectorTypes.h>
18 #include <SYS/SYS_Types.h>
19 
20 using namespace UT::Literal;
21 
22 class DEP_MicroNode;
23 namespace SOP_EdgeEqualizeEnums
24 {
25  enum class Grouptype
26  {
27  AUTO = 0,
28  VERTICES,
29  EDGES,
30  POINTS,
31  PRIMS
32  };
33  enum class Method
34  {
35  AVERAGE = 0,
36  LONGEST,
37  SHORTEST
38  };
39 }
40 
41 
43 {
44 public:
45  static int version() { return 1; }
46 
48  {
49  myGroup = ""_sh;
50  myGrouptype = 0;
51  myMethod = 0;
52  myOutputedgegroup = ""_sh;
53 
54  }
55 
56  explicit SOP_EdgeEqualizeParms(const SOP_EdgeEqualizeParms &) = default;
57 
58  ~SOP_EdgeEqualizeParms() override {}
59 
61  {
62  if (myGroup != src.myGroup) return false;
63  if (myGrouptype != src.myGrouptype) return false;
64  if (myMethod != src.myMethod) return false;
65  if (myOutputedgegroup != src.myOutputedgegroup) return false;
66 
67  return true;
68  }
70  {
71  return !operator==(src);
72  }
75 
76 
77 
78  void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
79  {
80  myGroup = ""_sh;
81  if (true)
82  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
83  myGrouptype = 0;
84  if (true)
85  graph->evalOpParm(myGrouptype, nodeidx, "grouptype", time, 0);
86  myMethod = 0;
87  if (true)
88  graph->evalOpParm(myMethod, nodeidx, "method", time, 0);
89  myOutputedgegroup = ""_sh;
90  if (true)
91  graph->evalOpParm(myOutputedgegroup, nodeidx, "outputedgegroup", time, 0);
92 
93  }
94 
95 
96  void loadFromOpSubclass(const LoadParms &loadparms) override
97  {
98  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
99  }
100 
101 
102  void copyFrom(const SOP_NodeParms *src) override
103  {
104  *this = *((const SOP_EdgeEqualizeParms *)src);
105  }
106 
107  template <typename T>
108  void
109  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
110  {
111  if (idx.size() < 1)
112  return;
113  UT_ASSERT(idx.size() == instance.size()+1);
114  if (idx.size() != instance.size()+1)
115  return;
116  switch (idx[0])
117  {
118  case 0:
119  coerceValue(value, myGroup);
120  break;
121  case 1:
122  coerceValue(value, myGrouptype);
123  break;
124  case 2:
125  coerceValue(value, myMethod);
126  break;
127  case 3:
128  coerceValue(value, myOutputedgegroup);
129  break;
130 
131  }
132  }
133 
134  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
135  { doGetParmValue(idx, instance, value); }
136  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
137  { doGetParmValue(idx, instance, value); }
138  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
139  { doGetParmValue(idx, instance, value); }
140  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
141  { doGetParmValue(idx, instance, value); }
142  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
143  { doGetParmValue(idx, instance, value); }
144  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
145  { doGetParmValue(idx, instance, value); }
146  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
147  { doGetParmValue(idx, instance, value); }
148  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
149  { doGetParmValue(idx, instance, value); }
150  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
151  { doGetParmValue(idx, instance, value); }
152  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
153  { doGetParmValue(idx, instance, value); }
154  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
155  { doGetParmValue(idx, instance, value); }
156 
157  template <typename T>
158  void
159  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
160  {
161  if (idx.size() < 1)
162  return;
163  UT_ASSERT(idx.size() == instance.size()+1);
164  if (idx.size() != instance.size()+1)
165  return;
166  switch (idx[0])
167  {
168  case 0:
169  coerceValue(myGroup, value);
170  break;
171  case 1:
172  coerceValue(myGrouptype, value);
173  break;
174  case 2:
175  coerceValue(myMethod, value);
176  break;
177  case 3:
178  coerceValue(myOutputedgegroup, value);
179  break;
180 
181  }
182  }
183 
184  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
185  { doSetParmValue(idx, instance, value); }
186  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
187  { doSetParmValue(idx, instance, value); }
188  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
189  { doSetParmValue(idx, instance, value); }
190  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
191  { doSetParmValue(idx, instance, value); }
192  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
193  { doSetParmValue(idx, instance, value); }
194  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
195  { doSetParmValue(idx, instance, value); }
196  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
197  { doSetParmValue(idx, instance, value); }
198  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
199  { doSetParmValue(idx, instance, value); }
200  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
201  { doSetParmValue(idx, instance, value); }
202  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
203  { doSetParmValue(idx, instance, value); }
204  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
205  { doSetParmValue(idx, instance, value); }
206 
207  exint getNestNumParms(TempIndex idx) const override
208  {
209  if (idx.size() == 0)
210  return 4;
211  switch (idx[0])
212  {
213 
214  }
215  // Invalid
216  return 0;
217  }
218 
219  const char *getNestParmName(TempIndex fieldnum) const override
220  {
221  if (fieldnum.size() < 1)
222  return 0;
223  switch (fieldnum[0])
224  {
225  case 0:
226  return "group";
227  case 1:
228  return "grouptype";
229  case 2:
230  return "method";
231  case 3:
232  return "outputedgegroup";
233 
234  }
235  return 0;
236  }
237 
238  ParmType getNestParmType(TempIndex fieldnum) const override
239  {
240  if (fieldnum.size() < 1)
241  return PARM_UNSUPPORTED;
242  switch (fieldnum[0])
243  {
244  case 0:
245  return PARM_STRING;
246  case 1:
247  return PARM_INTEGER;
248  case 2:
249  return PARM_INTEGER;
250  case 3:
251  return PARM_STRING;
252 
253  }
254  return PARM_UNSUPPORTED;
255  }
256 
257  // Boiler plate to load individual types.
258  static void loadData(UT_IStream &is, int64 &v)
259  { is.bread(&v, 1); }
260  static void loadData(UT_IStream &is, bool &v)
261  { int64 iv; is.bread(&iv, 1); v = iv; }
262  static void loadData(UT_IStream &is, fpreal64 &v)
263  { is.bread<fpreal64>(&v, 1); }
264  static void loadData(UT_IStream &is, UT_Vector2D &v)
265  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
266  static void loadData(UT_IStream &is, UT_Vector3D &v)
267  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
268  is.bread<fpreal64>(&v.z(), 1); }
269  static void loadData(UT_IStream &is, UT_Vector4D &v)
270  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
271  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
272  static void loadData(UT_IStream &is, UT_Matrix2D &v)
273  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
274  static void loadData(UT_IStream &is, UT_Matrix3D &v)
275  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
276  static void loadData(UT_IStream &is, UT_Matrix4D &v)
277  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
278  static void loadData(UT_IStream &is, UT_Vector2I &v)
279  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
280  static void loadData(UT_IStream &is, UT_Vector3I &v)
281  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
282  is.bread<int64>(&v.z(), 1); }
283  static void loadData(UT_IStream &is, UT_Vector4I &v)
284  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
285  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
287  { is.bread(v); }
289  { UT_StringHolder rampdata;
290  loadData(is, rampdata);
291  if (rampdata.isstring())
292  {
293  v.reset(new UT_Ramp());
294  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
295  v->load(istr);
296  }
297  else v.reset();
298  }
301  loadData(is, data);
302  if (data.isstring())
303  {
304  // Find the data type.
305  const char *colon = UT_StringWrap(data).findChar(':');
306  if (colon)
307  {
308  int typelen = colon - data.buffer();
310  type.strncpy(data.buffer(), typelen);
311  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
312 
313  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
314  }
315  }
316  else v.reset();
317  }
318 
319  static void saveData(std::ostream &os, int64 v)
320  { UTwrite(os, &v); }
321  static void saveData(std::ostream &os, bool v)
322  { int64 iv = v; UTwrite(os, &iv); }
323  static void saveData(std::ostream &os, fpreal64 v)
324  { UTwrite<fpreal64>(os, &v); }
325  static void saveData(std::ostream &os, UT_Vector2D v)
326  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
327  static void saveData(std::ostream &os, UT_Vector3D v)
328  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
329  UTwrite<fpreal64>(os, &v.z()); }
330  static void saveData(std::ostream &os, UT_Vector4D v)
331  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
332  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
333  static void saveData(std::ostream &os, UT_Matrix2D v)
335  static void saveData(std::ostream &os, UT_Matrix3D v)
337  static void saveData(std::ostream &os, UT_Matrix4D v)
339  static void saveData(std::ostream &os, UT_StringHolder s)
340  { UT_StringWrap(s).saveBinary(os); }
341  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
343  UT_OStringStream ostr;
344  if (s) s->save(ostr);
345  result = ostr.str();
346  saveData(os, result);
347  }
348  static void saveData(std::ostream &os, PRM_DataItemHandle s)
350  UT_OStringStream ostr;
351  if (s)
352  {
353  ostr << s->getDataTypeToken();
354  ostr << ":";
355  s->saveBinary(ostr);
356  }
357  result = ostr.str();
358  saveData(os, result);
359  }
360 
361 
362  void save(std::ostream &os) const
363  {
364  int32 v = version();
365  UTwrite(os, &v);
366  saveData(os, myGroup);
367  saveData(os, myGrouptype);
368  saveData(os, myMethod);
369  saveData(os, myOutputedgegroup);
370 
371  }
372 
373  bool load(UT_IStream &is)
374  {
375  int32 v;
376  is.bread(&v, 1);
377  if (version() != v)
378  {
379  // Fail incompatible versions
380  return false;
381  }
382  loadData(is, myGroup);
383  loadData(is, myGrouptype);
384  loadData(is, myMethod);
385  loadData(is, myOutputedgegroup);
386 
387  return true;
388  }
389 
390  const UT_StringHolder & getGroup() const { return myGroup; }
391  void setGroup(const UT_StringHolder & val) { myGroup = val; }
393  {
394  SOP_Node *thissop = cookparms.getNode();
395  if (!thissop) return getGroup();
397  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
398  return result;
399  }
400  Grouptype getGrouptype() const { return Grouptype(myGrouptype); }
401  void setGrouptype(Grouptype val) { myGrouptype = int64(val); }
403  {
404  SOP_Node *thissop = cookparms.getNode();
405  if (!thissop) return getGrouptype();
406  int64 result;
407  OP_Utils::evalOpParm(result, thissop, "grouptype", cookparms.getCookTime(), 0);
408  return Grouptype(result);
409  }
410  Method getMethod() const { return Method(myMethod); }
411  void setMethod(Method val) { myMethod = int64(val); }
412  Method opMethod(const SOP_NodeVerb::CookParms &cookparms) const
413  {
414  SOP_Node *thissop = cookparms.getNode();
415  if (!thissop) return getMethod();
416  int64 result;
417  OP_Utils::evalOpParm(result, thissop, "method", cookparms.getCookTime(), 0);
418  return Method(result);
419  }
420  const UT_StringHolder & getOutputedgegroup() const { return myOutputedgegroup; }
421  void setOutputedgegroup(const UT_StringHolder & val) { myOutputedgegroup = val; }
423  {
424  SOP_Node *thissop = cookparms.getNode();
425  if (!thissop) return getOutputedgegroup();
427  OP_Utils::evalOpParm(result, thissop, "outputedgegroup", cookparms.getCookTime(), 0);
428  return result;
429  }
430 
431 private:
432  UT_StringHolder myGroup;
433  int64 myGrouptype;
434  int64 myMethod;
435  UT_StringHolder myOutputedgegroup;
436 
437 };
GLdouble s
Definition: glew.h:1390
static void saveData(std::ostream &os, UT_StringHolder s)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
Method opMethod(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
Grouptype opGrouptype(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Matrix3D v)
UT_StringHolder opOutputedgegroup(const SOP_NodeVerb::CookParms &cookparms) const
exint nodeIdx() const
Definition: SOP_NodeVerb.h:114
GLenum src
Definition: glew.h:2410
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:640
static void saveData(std::ostream &os, bool v)
static void loadData(UT_IStream &is, UT_Vector3I &v)
static void saveData(std::ostream &os, UT_Matrix4D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
static void loadData(UT_IStream &is, bool &v)
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
fpreal getTime() const
Definition: OP_Context.h:60
GLuint const GLfloat * val
Definition: glew.h:2794
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
int64 exint
Definition: SYS_Types.h:125
void setOutputedgegroup(const UT_StringHolder &val)
SYS_FORCE_INLINE const char * buffer() const
const SOP_GraphProxy * graph() const
Definition: SOP_NodeVerb.h:113
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, UT_Vector2I &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
const GLdouble * v
Definition: glew.h:1391
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
bool operator!=(const SOP_EdgeEqualizeParms &src) const
exint getNestNumParms(TempIndex idx) const override
static void saveData(std::ostream &os, UT_Vector4D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
double fpreal64
Definition: SYS_Types.h:201
const char * getNestParmName(TempIndex fieldnum) const override
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector4I &v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
ParmType getNestParmType(TempIndex fieldnum) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:513
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
exint length() const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:28
GLint GLenum GLsizei GLint GLsizei const void * data
Definition: glew.h:1379
void setGrouptype(Grouptype val)
void copyFrom(const SOP_NodeParms *src) override
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:515
static void saveData(std::ostream &os, int64 v)
const GLfloat * c
Definition: glew.h:16296
long long int64
Definition: SYS_Types.h:116
bool load(UT_IStream &is)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static void loadData(UT_IStream &is, UT_StringHolder &v)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:121
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void loadFromOpSubclass(const LoadParms &loadparms) override
static void loadData(UT_IStream &is, UT_Vector4D &v)
static void saveData(std::ostream &os, UT_Vector3D v)
const UT_StringHolder & getOutputedgegroup() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
fpreal64 fpreal
Definition: SYS_Types.h:277
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
static void loadData(UT_IStream &is, fpreal64 &v)
static void loadData(UT_IStream &is, int64 &v)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
bool operator==(const SOP_EdgeEqualizeParms &src) const
static void saveData(std::ostream &os, UT_Vector2D v)
GLdouble GLdouble GLdouble r
Definition: glew.h:1406
#define SOP_API
Definition: SOP_API.h:10
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:511
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:654
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
GLuint64EXT * result
Definition: glew.h:14007
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
const char * findChar(int c) const
Definition: UT_String.h:1367
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:135
static void saveData(std::ostream &os, fpreal64 v)
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
Grouptype getGrouptype() const
const UT_StringHolder & getGroup() const
void setGroup(const UT_StringHolder &val)
static void loadData(UT_IStream &is, UT_Vector3D &v)
static void loadData(UT_IStream &is, UT_Vector2D &v)
GLsizei const GLfloat * value
Definition: glew.h:1849
const OP_Context & context() const
Definition: SOP_NodeVerb.h:119
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
SYS_FORCE_INLINE bool isstring() const
static void saveData(std::ostream &os, UT_Matrix2D v)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
type
Definition: core.h:528
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
void save(std::ostream &os) const