HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_GroupsFromName.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_API.h>
7 #include <SOP/SOP_NodeVerb.h>
8 #include <SOP/SOP_GraphProxy.h>
9 
10 #include <OP/OP_Utils.h>
11 #include <PRM/PRM_Parm.h>
12 #include <UT/UT_IStream.h>
13 #include <UT/UT_NTStreamUtil.h>
14 #include <UT/UT_Ramp.h>
15 #include <UT/UT_SharedPtr.h>
16 #include <UT/UT_StringHolder.h>
17 #include <UT/UT_StringStream.h>
18 #include <UT/UT_VectorTypes.h>
19 #include <UT/UT_EnvControl.h>
20 #include <SYS/SYS_Types.h>
21 
22 class DEP_MicroNode;
23 namespace SOP_GroupsFromNameEnums
24 {
25  enum class Class
26  {
27  PRIMITIVE = 0,
28  POINT,
29  VERTEX
30  };
31  enum class ConflictOp
32  {
33  REPLACE = 0,
34  UNION
35  };
36  enum class InvalidNames
37  {
38  IGNORE = 0,
39  FORCEVALID,
40  ENCODE
41  };
42 }
43 
44 
46 {
47 public:
48  static int version() { return 1; }
49 
51  {
52  myAttribName = "name"_UTsh;
53  myClass = 0;
54  myGroupPrefix = ""_UTsh;
55  myConflictOp = 0;
56  myInvalidNames = 1;
57 
58  }
59 
60  explicit SOP_GroupsFromNameParms(const SOP_GroupsFromNameParms &) = default;
62  SOP_GroupsFromNameParms(SOP_GroupsFromNameParms &&) noexcept = default;
63  SOP_GroupsFromNameParms &operator=(SOP_GroupsFromNameParms &&) noexcept = default;
64 
65  ~SOP_GroupsFromNameParms() override {}
66 
68  {
69  if (myAttribName != src.myAttribName) return false;
70  if (myClass != src.myClass) return false;
71  if (myGroupPrefix != src.myGroupPrefix) return false;
72  if (myConflictOp != src.myConflictOp) return false;
73  if (myInvalidNames != src.myInvalidNames) return false;
74 
75  return true;
76  }
78  {
79  return !operator==(src);
80  }
84 
85 
86 
87  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
88  {
89  myAttribName = "name"_UTsh;
90  if (true)
91  graph->evalOpParm(myAttribName, nodeidx, "attribname", time, 0);
92  myClass = 0;
93  if (true)
94  graph->evalOpParm(myClass, nodeidx, "class", time, 0);
95  myGroupPrefix = ""_UTsh;
96  if (true)
97  graph->evalOpParm(myGroupPrefix, nodeidx, "groupprefix", time, 0);
98  myConflictOp = 0;
99  if (true)
100  graph->evalOpParm(myConflictOp, nodeidx, "conflict", time, 0);
101  myInvalidNames = 1;
102  if (true)
103  graph->evalOpParm(myInvalidNames, nodeidx, "invalidnames", time, 0);
104 
105  }
106 
107 
108  void loadFromOpSubclass(const LoadParms &loadparms) override
109  {
110  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
111  }
112 
113 
114  void copyFrom(const OP_NodeParms *src) override
115  {
116  *this = *((const SOP_GroupsFromNameParms *)src);
117  }
118 
119  template <typename T>
120  void
121  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
122  {
123  if (idx.size() < 1)
124  return;
125  UT_ASSERT(idx.size() == instance.size()+1);
126  if (idx.size() != instance.size()+1)
127  return;
128  switch (idx[0])
129  {
130  case 0:
131  coerceValue(value, myAttribName);
132  break;
133  case 1:
134  coerceValue(value, myClass);
135  break;
136  case 2:
137  coerceValue(value, myGroupPrefix);
138  break;
139  case 3:
140  coerceValue(value, myConflictOp);
141  break;
142  case 4:
143  coerceValue(value, myInvalidNames);
144  break;
145 
146  }
147  }
148 
149  bool isParmColorRamp(exint idx) const override
150  {
151  switch (idx)
152  {
153 
154  }
155  return false;
156  }
157 
158  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
159  { doGetParmValue(idx, instance, value); }
160  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
161  { doGetParmValue(idx, instance, value); }
162  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
163  { doGetParmValue(idx, instance, value); }
164  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
165  { doGetParmValue(idx, instance, value); }
166  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
167  { doGetParmValue(idx, instance, value); }
168  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
169  { doGetParmValue(idx, instance, value); }
170  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
171  { doGetParmValue(idx, instance, value); }
172  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
173  { doGetParmValue(idx, instance, value); }
174  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
175  { doGetParmValue(idx, instance, value); }
176  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
177  { doGetParmValue(idx, instance, value); }
178  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
179  { doGetParmValue(idx, instance, value); }
180 
181  template <typename T>
182  void
183  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
184  {
185  if (idx.size() < 1)
186  return;
187  UT_ASSERT(idx.size() == instance.size()+1);
188  if (idx.size() != instance.size()+1)
189  return;
190  switch (idx[0])
191  {
192  case 0:
193  coerceValue(myAttribName, ( ( value ) ));
194  break;
195  case 1:
196  coerceValue(myClass, clampMinValue(0, clampMaxValue(2, value ) ));
197  break;
198  case 2:
199  coerceValue(myGroupPrefix, ( ( value ) ));
200  break;
201  case 3:
202  coerceValue(myConflictOp, clampMinValue(0, clampMaxValue(1, value ) ));
203  break;
204  case 4:
205  coerceValue(myInvalidNames, clampMinValue(0, clampMaxValue(2, value ) ));
206  break;
207 
208  }
209  }
210 
211  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
212  { doSetParmValue(idx, instance, value); }
213  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
214  { doSetParmValue(idx, instance, value); }
215  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
216  { doSetParmValue(idx, instance, value); }
217  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
218  { doSetParmValue(idx, instance, value); }
219  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
220  { doSetParmValue(idx, instance, value); }
221  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
222  { doSetParmValue(idx, instance, value); }
223  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
224  { doSetParmValue(idx, instance, value); }
225  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
226  { doSetParmValue(idx, instance, value); }
227  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
228  { doSetParmValue(idx, instance, value); }
229  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
230  { doSetParmValue(idx, instance, value); }
231  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
232  { doSetParmValue(idx, instance, value); }
233 
234  exint getNestNumParms(TempIndex idx) const override
235  {
236  if (idx.size() == 0)
237  return 5;
238  switch (idx[0])
239  {
240 
241  }
242  // Invalid
243  return 0;
244  }
245 
246  const char *getNestParmName(TempIndex fieldnum) const override
247  {
248  if (fieldnum.size() < 1)
249  return 0;
250  switch (fieldnum[0])
251  {
252  case 0:
253  return "attribname";
254  case 1:
255  return "class";
256  case 2:
257  return "groupprefix";
258  case 3:
259  return "conflict";
260  case 4:
261  return "invalidnames";
262 
263  }
264  return 0;
265  }
266 
267  ParmType getNestParmType(TempIndex fieldnum) const override
268  {
269  if (fieldnum.size() < 1)
270  return PARM_UNSUPPORTED;
271  switch (fieldnum[0])
272  {
273  case 0:
274  return PARM_STRING;
275  case 1:
276  return PARM_INTEGER;
277  case 2:
278  return PARM_STRING;
279  case 3:
280  return PARM_INTEGER;
281  case 4:
282  return PARM_INTEGER;
283 
284  }
285  return PARM_UNSUPPORTED;
286  }
287 
288  // Boiler plate to load individual types.
289  static void loadData(UT_IStream &is, int64 &v)
290  { is.bread(&v, 1); }
291  static void loadData(UT_IStream &is, bool &v)
292  { int64 iv; is.bread(&iv, 1); v = iv; }
293  static void loadData(UT_IStream &is, fpreal64 &v)
294  { is.bread<fpreal64>(&v, 1); }
295  static void loadData(UT_IStream &is, UT_Vector2D &v)
296  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
297  static void loadData(UT_IStream &is, UT_Vector3D &v)
298  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
299  is.bread<fpreal64>(&v.z(), 1); }
300  static void loadData(UT_IStream &is, UT_Vector4D &v)
301  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
302  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
303  static void loadData(UT_IStream &is, UT_Matrix2D &v)
304  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
305  static void loadData(UT_IStream &is, UT_Matrix3D &v)
306  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
307  static void loadData(UT_IStream &is, UT_Matrix4D &v)
308  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
309  static void loadData(UT_IStream &is, UT_Vector2I &v)
310  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
311  static void loadData(UT_IStream &is, UT_Vector3I &v)
312  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
313  is.bread<int64>(&v.z(), 1); }
314  static void loadData(UT_IStream &is, UT_Vector4I &v)
315  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
316  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
318  { is.bread(v); }
320  { UT_StringHolder rampdata;
321  loadData(is, rampdata);
322  if (rampdata.isstring())
323  {
324  v.reset(new UT_Ramp());
325  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
326  v->load(istr);
327  }
328  else v.reset();
329  }
332  loadData(is, data);
333  if (data.isstring())
334  {
335  // Find the data type.
336  const char *colon = UT_StringWrap(data).findChar(':');
337  if (colon)
338  {
339  int typelen = colon - data.buffer();
341  type.strncpy(data.buffer(), typelen);
342  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
343 
344  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
345  }
346  }
347  else v.reset();
348  }
349 
350  static void saveData(std::ostream &os, int64 v)
351  { UTwrite(os, &v); }
352  static void saveData(std::ostream &os, bool v)
353  { int64 iv = v; UTwrite(os, &iv); }
354  static void saveData(std::ostream &os, fpreal64 v)
355  { UTwrite<fpreal64>(os, &v); }
356  static void saveData(std::ostream &os, UT_Vector2D v)
357  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
358  static void saveData(std::ostream &os, UT_Vector3D v)
359  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
360  UTwrite<fpreal64>(os, &v.z()); }
361  static void saveData(std::ostream &os, UT_Vector4D v)
362  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
363  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
364  static void saveData(std::ostream &os, UT_Matrix2D v)
366  static void saveData(std::ostream &os, UT_Matrix3D v)
368  static void saveData(std::ostream &os, UT_Matrix4D v)
370  static void saveData(std::ostream &os, UT_StringHolder s)
371  { UT_StringWrap(s).saveBinary(os); }
372  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
374  UT_OStringStream ostr;
375  if (s) s->save(ostr);
376  result = ostr.str();
377  saveData(os, result);
378  }
379  static void saveData(std::ostream &os, PRM_DataItemHandle s)
381  UT_OStringStream ostr;
382  if (s)
383  {
384  ostr << s->getDataTypeToken();
385  ostr << ":";
386  s->saveBinary(ostr);
387  }
388  result = ostr.str();
389  saveData(os, result);
390  }
391 
392 
393  void save(std::ostream &os) const
394  {
395  int32 v = version();
396  UTwrite(os, &v);
397  saveData(os, myAttribName);
398  saveData(os, myClass);
399  saveData(os, myGroupPrefix);
400  saveData(os, myConflictOp);
401  saveData(os, myInvalidNames);
402 
403  }
404 
405  bool load(UT_IStream &is)
406  {
407  int32 v;
408  is.bread(&v, 1);
409  if (version() != v)
410  {
411  // Fail incompatible versions
412  return false;
413  }
414  loadData(is, myAttribName);
415  loadData(is, myClass);
416  loadData(is, myGroupPrefix);
417  loadData(is, myConflictOp);
418  loadData(is, myInvalidNames);
419 
420  return true;
421  }
422 
423  const UT_StringHolder & getAttribName() const { return myAttribName; }
424  void setAttribName(const UT_StringHolder & val) { myAttribName = val; }
426  {
427  SOP_Node *thissop = cookparms.getNode();
428  if (!thissop) return getAttribName();
430  OP_Utils::evalOpParm(result, thissop, "attribname", cookparms.getCookTime(), 0);
431  return result;
432  }
433  Class getClass() const { return Class(myClass); }
434  void setClass(Class val) { myClass = int64(val); }
435  Class opClass(const SOP_NodeVerb::CookParms &cookparms) const
436  {
437  SOP_Node *thissop = cookparms.getNode();
438  if (!thissop) return getClass();
439  int64 result;
440  OP_Utils::evalOpParm(result, thissop, "class", cookparms.getCookTime(), 0);
441  return Class(result);
442  }
443  const UT_StringHolder & getGroupPrefix() const { return myGroupPrefix; }
444  void setGroupPrefix(const UT_StringHolder & val) { myGroupPrefix = val; }
446  {
447  SOP_Node *thissop = cookparms.getNode();
448  if (!thissop) return getGroupPrefix();
450  OP_Utils::evalOpParm(result, thissop, "groupprefix", cookparms.getCookTime(), 0);
451  return result;
452  }
453  ConflictOp getConflictOp() const { return ConflictOp(myConflictOp); }
454  void setConflictOp(ConflictOp val) { myConflictOp = int64(val); }
456  {
457  SOP_Node *thissop = cookparms.getNode();
458  if (!thissop) return getConflictOp();
459  int64 result;
460  OP_Utils::evalOpParm(result, thissop, "conflict", cookparms.getCookTime(), 0);
461  return ConflictOp(result);
462  }
463  InvalidNames getInvalidNames() const { return InvalidNames(myInvalidNames); }
464  void setInvalidNames(InvalidNames val) { myInvalidNames = int64(val); }
466  {
467  SOP_Node *thissop = cookparms.getNode();
468  if (!thissop) return getInvalidNames();
469  int64 result;
470  OP_Utils::evalOpParm(result, thissop, "invalidnames", cookparms.getCookTime(), 0);
471  return InvalidNames(result);
472  }
473 
474 private:
475  UT_StringHolder myAttribName;
476  int64 myClass;
477  UT_StringHolder myGroupPrefix;
478  int64 myConflictOp;
479  int64 myInvalidNames;
480 
481 };
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
const UT_StringHolder & getGroupPrefix() const
bool operator!=(const SOP_GroupsFromNameParms &src) const
static void loadData(UT_IStream &is, UT_Vector4D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
static void saveData(std::ostream &os, UT_Vector4D v)
static void saveData(std::ostream &os, UT_Matrix4D v)
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
static void saveData(std::ostream &os, int64 v)
T clampMaxValue(fpreal maxvalue, const T &src) const
Definition: OP_NodeParms.h:315
exint bread(int32 *buffer, exint asize=1)
GLboolean * data
Definition: glcorearb.h:131
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector4.h:493
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
const GLdouble * v
Definition: glcorearb.h:837
fpreal getTime() const
Definition: OP_Context.h:62
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
const OP_Context & context() const
Definition: OP_NodeParms.h:97
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
InvalidNames opInvalidNames(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector3.h:667
int64 exint
Definition: SYS_Types.h:125
static void loadData(UT_IStream &is, bool &v)
SYS_FORCE_INLINE const char * buffer() const
static void loadData(UT_IStream &is, UT_Vector3I &v)
GLdouble s
Definition: glad.h:3009
Class opClass(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, fpreal64 v)
An output stream object that owns its own string buffer storage.
**But if you need a result
Definition: thread.h:613
static void saveData(std::ostream &os, UT_Matrix3D v)
T clampMinValue(fpreal minvalue, const T &src) const
Definition: OP_NodeParms.h:308
exint nodeIdx() const
Definition: OP_NodeParms.h:95
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 UT_Matrix4D &value) override
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:491
static void loadData(UT_IStream &is, fpreal64 &v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void loadFromOpSubclass(const LoadParms &loadparms) override
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
ParmType getNestParmType(TempIndex fieldnum) const override
double fpreal64
Definition: SYS_Types.h:201
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:423
static void saveData(std::ostream &os, UT_Vector3D v)
void setGroupPrefix(const UT_StringHolder &val)
static void loadData(UT_IStream &is, UT_Vector2D &v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void copyFrom(const OP_NodeParms *src) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
const UT_StringHolder & getAttribName() const
InvalidNames getInvalidNames() const
void setInvalidNames(InvalidNames val)
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:36
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:495
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
static void saveData(std::ostream &os, bool v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
exint getNestNumParms(TempIndex idx) const override
long long int64
Definition: SYS_Types.h:116
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static void loadData(UT_IStream &is, UT_Vector2I &v)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:296
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
GT_API const UT_StringHolder version
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
void save(std::ostream &os) const
void setAttribName(const UT_StringHolder &val)
void coerceValue(T &result, const S &src) const
Definition: OP_NodeParms.h:301
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
fpreal64 fpreal
Definition: SYS_Types.h:277
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
UT_StringHolder opAttribName(const SOP_NodeVerb::CookParms &cookparms) const
Utility class for containing a color ramp.
Definition: UT_Ramp.h:88
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
GLuint GLfloat * val
Definition: glcorearb.h:1608
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
#define SOP_API
Definition: SOP_API.h:10
void setConflictOp(ConflictOp val)
static void loadData(UT_IStream &is, UT_Vector3D &v)
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:361
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void saveData(std::ostream &os, UT_Matrix2D v)
const char * findChar(int c) const
Definition: UT_String.h:1385
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
Definition: core.h:1131
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
const char * getNestParmName(TempIndex fieldnum) const override
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
GLboolean r
Definition: glcorearb.h:1222
static void loadData(UT_IStream &is, UT_Matrix3D &v)
static void saveData(std::ostream &os, UT_Vector2D v)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
bool operator==(const SOP_GroupsFromNameParms &src) const
type
Definition: core.h:1059
static void saveData(std::ostream &os, UT_StringHolder s)
ConflictOp opConflictOp(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, int64 &v)
UT_StringHolder opGroupPrefix(const SOP_NodeVerb::CookParms &cookparms) const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
SYS_FORCE_INLINE bool isstring() const
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
bool isParmColorRamp(exint idx) const override
OP_NodeParms & operator=(const OP_NodeParms &)=default
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
static void loadData(UT_IStream &is, UT_Vector4I &v)
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663