HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SOP_AttribSwap.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 <OP/OP_Utils.h>
8 #include <PRM/PRM_Parm.h>
9 #include <UT/UT_IStream.h>
10 #include <UT/UT_NTStreamUtil.h>
11 #include <UT/UT_Ramp.h>
12 #include <UT/UT_SharedPtr.h>
13 #include <UT/UT_StringHolder.h>
14 #include <UT/UT_StringStream.h>
15 #include <UT/UT_VectorTypes.h>
16 #include <SYS/SYS_Types.h>
17 
18 using namespace UT::Literal;
19 
20 class DEP_MicroNode;
21 namespace SOP_AttribSwapEnums
22 {
23  enum class Method
24  {
25  SWAP = 0,
26  COPY,
27  MOVE
28  };
29  enum class Class
30  {
31  DETAIL = 0,
32  PRIMITIVE,
33  POINT,
34  VERTEX
35  };
36  enum class Typeinfo
37  {
38  SOURCE = 0,
39  DEST
40  };
41 }
42 
43 
45 {
46 public:
47  static int version() { return 1; }
48  struct Numswaps
49  {
50  bool enable;
56 
57 
59  {
60  enable = false;
61  method = 0;
62  _class = 2;
63  srcattribs = ""_sh;
64  dstattribs = ""_sh;
65  typeinfo = 1;
66 
67  }
68 
69  bool operator==(const Numswaps &src) const
70  {
71  if (enable != src.enable) return false;
72  if (method != src.method) return false;
73  if (_class != src._class) return false;
74  if (srcattribs != src.srcattribs) return false;
75  if (dstattribs != src.dstattribs) return false;
76  if (typeinfo != src.typeinfo) return false;
77 
78  return true;
79  }
80 
81  };
82 
84  {
86 
87  buf.strcat("[ ");
88  for (int i = 0; i < list.entries(); i++)
89  {
90  if (i)
91  buf.strcat(", ");
92  buf.strcat("( ");
93  buf.append("");
94  buf.appendSprintf("%s", (list(i).enable) ? "true" : "false");
95  buf.append(", ");
96  buf.appendSprintf("%d", (int) list(i).method);
97  buf.append(", ");
98  buf.appendSprintf("%d", (int) list(i)._class);
99  buf.append(", ");
100  { UT_String tmp; tmp = UT_StringWrap(list(i).srcattribs).makeQuotedString('"'); buf.strcat(tmp); }
101  buf.append(", ");
102  { UT_String tmp; tmp = UT_StringWrap(list(i).dstattribs).makeQuotedString('"'); buf.strcat(tmp); }
103  buf.append(", ");
104  buf.appendSprintf("%d", (int) list(i).typeinfo);
105 
106  buf.strcat(" )");
107  }
108  buf.strcat(" ]");
109 
110  UT_StringHolder result = buf;
111  return result;
112  }
113 
115  {
116 
117  }
118 
119  explicit SOP_AttribSwapParms(const SOP_AttribSwapParms &) = default;
120 
121  virtual ~SOP_AttribSwapParms() {}
122 
123  bool operator==(const SOP_AttribSwapParms &src) const
124  {
125  if (myNumswaps != src.myNumswaps) return false;
126 
127  return true;
128  }
132 
133 
134 
135  void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
136  {
137  if (true)
138  {
139  int64 length;
140  OP_Utils::evalOpParm(length, node, "numswaps", time, 0);
141  myNumswaps.entries(length);
142  for (exint i = 0; i < length; i++)
143  {
144  int parmidx = i+1;
145  auto && _curentry = myNumswaps(i);
146  (void) _curentry;
147  if (true)
148  OP_Utils::evalOpParmInst(myNumswaps(i).enable, node, "enable#", &parmidx, time, 0);
149  else myNumswaps(i).enable = false;
150  if (true)
151  OP_Utils::evalOpParmInst(myNumswaps(i).method, node, "method#", &parmidx, time, 0);
152  else myNumswaps(i).method = 0;
153  if (true)
154  OP_Utils::evalOpParmInst(myNumswaps(i)._class, node, "class#", &parmidx, time, 0);
155  else myNumswaps(i)._class = 2;
156  if (true)
157  OP_Utils::evalOpParmInst(myNumswaps(i).srcattribs, node, "srcattribs#", &parmidx, time, 0);
158  else myNumswaps(i).srcattribs = ""_sh;
159  if (true)
160  OP_Utils::evalOpParmInst(myNumswaps(i).dstattribs, node, "dstattribs#", &parmidx, time, 0);
161  else myNumswaps(i).dstattribs = ""_sh;
162  if (true)
163  OP_Utils::evalOpParmInst(myNumswaps(i).typeinfo, node, "typeinfo#", &parmidx, time, 0);
164  else myNumswaps(i).typeinfo = 1;
165 
166  }
167  }
168  else
169  myNumswaps.clear();
170 
171  }
172 
173 
174  virtual void loadFromOpSubclass(const LoadParms &loadparms)
175  {
176  buildFromOp(loadparms.node(), loadparms.context().getTime(), loadparms.depnode());
177  }
178 
179 
180  virtual void copyFrom(const SOP_NodeParms *src)
181  {
182  *this = *((const SOP_AttribSwapParms *)src);
183  }
184 
185  template <typename T>
186  void
187  doGetParmValue(exint idx, T &value) const
188  {
189  switch (idx)
190  {
191 
192  }
193  }
194 
195  void getParmValue(exint idx, exint &value) const
196  { doGetParmValue(idx, value); }
197  void getParmValue(exint idx, fpreal &value) const
198  { doGetParmValue(idx, value); }
200  { doGetParmValue(idx, value); }
202  { doGetParmValue(idx, value); }
204  { doGetParmValue(idx, value); }
206  { doGetParmValue(idx, value); }
208  { doGetParmValue(idx, value); }
210  { doGetParmValue(idx, value); }
212  { doGetParmValue(idx, value); }
214  { doGetParmValue(idx, value); }
216  { doGetParmValue(idx, value); }
217 
218  template <typename T>
219  void
220  doSetParmValue(exint idx, const T &value)
221  {
222  switch (idx)
223  {
224 
225  }
226  }
227 
228  void setParmValue(exint idx, const exint &value)
229  { doSetParmValue(idx, value); }
230  void setParmValue(exint idx, const fpreal &value)
231  { doSetParmValue(idx, value); }
232  void setParmValue(exint idx, const UT_Vector2D &value)
233  { doSetParmValue(idx, value); }
234  void setParmValue(exint idx, const UT_Vector3D &value)
235  { doSetParmValue(idx, value); }
236  void setParmValue(exint idx, const UT_Vector4D &value)
237  { doSetParmValue(idx, value); }
238  void setParmValue(exint idx, const UT_Matrix2D &value)
239  { doSetParmValue(idx, value); }
240  void setParmValue(exint idx, const UT_Matrix3D &value)
241  { doSetParmValue(idx, value); }
242  void setParmValue(exint idx, const UT_Matrix4D &value)
243  { doSetParmValue(idx, value); }
245  { doSetParmValue(idx, value); }
247  { doSetParmValue(idx, value); }
249  { doSetParmValue(idx, value); }
250 
251  virtual exint getNumParms() const
252  {
253  return 1;
254  }
255 
256  virtual const char *getParmName(exint fieldnum) const
257  {
258  switch (fieldnum)
259  {
260  case 0:
261  return "numswaps";
262 
263  }
264  return 0;
265  }
266 
267  virtual ParmType getParmType(exint fieldnum) const
268  {
269  switch (fieldnum)
270  {
271 
272  }
273  return PARM_UNSUPPORTED;
274  }
275 
276  // Boiler plate to load individual types.
277  static void loadData(UT_IStream &is, int64 &v)
278  { is.bread(&v, 1); }
279  static void loadData(UT_IStream &is, bool &v)
280  { int64 iv; is.bread(&iv, 1); v = iv; }
281  static void loadData(UT_IStream &is, fpreal64 &v)
282  { is.bread<fpreal64>(&v, 1); }
283  static void loadData(UT_IStream &is, UT_Vector2D &v)
284  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
285  static void loadData(UT_IStream &is, UT_Vector3D &v)
286  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
287  is.bread<fpreal64>(&v.z(), 1); }
288  static void loadData(UT_IStream &is, UT_Vector4D &v)
289  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
290  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
291  static void loadData(UT_IStream &is, UT_Matrix2D &v)
292  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
293  static void loadData(UT_IStream &is, UT_Matrix3D &v)
294  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
295  static void loadData(UT_IStream &is, UT_Matrix4D &v)
296  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
297  static void loadData(UT_IStream &is, UT_Vector2I &v)
298  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
299  static void loadData(UT_IStream &is, UT_Vector3I &v)
300  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
301  is.bread<int64>(&v.z(), 1); }
302  static void loadData(UT_IStream &is, UT_Vector4I &v)
303  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
304  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
306  { is.bread(v); }
308  { UT_StringHolder rampdata;
309  loadData(is, rampdata);
310  if (rampdata.isstring())
311  {
312  v.reset(new UT_Ramp());
313  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
314  v->load(istr);
315  }
316  else v.reset();
317  }
320  loadData(is, data);
321  if (data.isstring())
322  {
323  // Find the data type.
324  char *colon = UT_StringWrap(data).findChar(':');
325  if (colon)
326  {
327  int typelen = colon - data.buffer();
329  type.strncpy(data.buffer(), typelen);
330  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
331 
332  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
333  }
334  }
335  else v.reset();
336  }
337 
338  static void saveData(std::ostream &os, int64 v)
339  { UTwrite(os, &v); }
340  static void saveData(std::ostream &os, bool v)
341  { int64 iv = v; UTwrite(os, &iv); }
342  static void saveData(std::ostream &os, fpreal64 v)
343  { UTwrite<fpreal64>(os, &v); }
344  static void saveData(std::ostream &os, UT_Vector2D v)
345  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
346  static void saveData(std::ostream &os, UT_Vector3D v)
347  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
348  UTwrite<fpreal64>(os, &v.z()); }
349  static void saveData(std::ostream &os, UT_Vector4D v)
350  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
351  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
352  static void saveData(std::ostream &os, UT_Matrix2D v)
354  static void saveData(std::ostream &os, UT_Matrix3D v)
356  static void saveData(std::ostream &os, UT_Matrix4D v)
358  static void saveData(std::ostream &os, UT_StringHolder s)
359  { UT_StringWrap(s).saveBinary(os); }
360  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
361  { UT_StringHolder result;
362  UT_OStringStream ostr;
363  if (s) s->save(ostr);
364  result = ostr.str();
365  saveData(os, result);
366  }
367  static void saveData(std::ostream &os, PRM_DataItemHandle s)
368  { UT_StringHolder result;
369  UT_OStringStream ostr;
370  if (s)
371  {
372  ostr << s->getDataTypeToken();
373  ostr << ":";
374  s->saveBinary(ostr);
375  }
376  result = ostr.str();
377  saveData(os, result);
378  }
379 
380 
381  void save(std::ostream &os) const
382  {
383  int32 v = version();
384  UTwrite(os, &v);
385  {
386  int64 length = myNumswaps.entries();
387  UTwrite(os, &length);
388  for (exint i = 0; i < length; i++)
389  {
390  saveData(os, myNumswaps(i).enable);
391  saveData(os, myNumswaps(i).method);
392  saveData(os, myNumswaps(i)._class);
393  saveData(os, myNumswaps(i).srcattribs);
394  saveData(os, myNumswaps(i).dstattribs);
395  saveData(os, myNumswaps(i).typeinfo);
396 
397  }
398  }
399 
400  }
401 
402  bool load(UT_IStream &is)
403  {
404  int32 v;
405  is.bread(&v, 1);
406  if (version() != v)
407  {
408  // Fail incompatible versions
409  return false;
410  }
411  {
412  int64 length;
413  is.read(&length, 1);
414  myNumswaps.entries(length);
415  for (exint i = 0; i < length; i++)
416  {
417  loadData(is, myNumswaps(i).enable);
418  loadData(is, myNumswaps(i).method);
419  loadData(is, myNumswaps(i)._class);
420  loadData(is, myNumswaps(i).srcattribs);
421  loadData(is, myNumswaps(i).dstattribs);
422  loadData(is, myNumswaps(i).typeinfo);
423 
424  }
425  }
426 
427  return true;
428  }
429 
430  const UT_Array<Numswaps> &getNumswaps() const { return myNumswaps; }
431  void setNumswaps(const UT_Array<Numswaps> &val) { myNumswaps = val; }
432  exint opNumswaps(const SOP_NodeVerb::CookParms &cookparms) const
433  {
434  SOP_Node *thissop = cookparms.getNode();
435  if (!thissop) return getNumswaps().entries();
436  exint result;
437  OP_Utils::evalOpParm(result, thissop, "numswaps", cookparms.getCookTime(), 0);
438  return result;
439  }
440  bool opNumswaps_enable(const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
441  {
442  SOP_Node *thissop = cookparms.getNode();
443  if (!thissop) return (myNumswaps(_idx).enable);
444  int _parmidx = _idx + 1;
445  bool result;
446  OP_Utils::evalOpParmInst(result, thissop, "enable#", &_parmidx, cookparms.getCookTime(), 0);
447  return (result);
448  }
449  int64 opNumswaps_method(const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
450  {
451  SOP_Node *thissop = cookparms.getNode();
452  if (!thissop) return (myNumswaps(_idx).method);
453  int _parmidx = _idx + 1;
454  int64 result;
455  OP_Utils::evalOpParmInst(result, thissop, "method#", &_parmidx, cookparms.getCookTime(), 0);
456  return (result);
457  }
458  int64 opNumswaps__class(const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
459  {
460  SOP_Node *thissop = cookparms.getNode();
461  if (!thissop) return (myNumswaps(_idx)._class);
462  int _parmidx = _idx + 1;
463  int64 result;
464  OP_Utils::evalOpParmInst(result, thissop, "class#", &_parmidx, cookparms.getCookTime(), 0);
465  return (result);
466  }
468  {
469  SOP_Node *thissop = cookparms.getNode();
470  if (!thissop) return (myNumswaps(_idx).srcattribs);
471  int _parmidx = _idx + 1;
472  UT_StringHolder result;
473  OP_Utils::evalOpParmInst(result, thissop, "srcattribs#", &_parmidx, cookparms.getCookTime(), 0);
474  return (result);
475  }
477  {
478  SOP_Node *thissop = cookparms.getNode();
479  if (!thissop) return (myNumswaps(_idx).dstattribs);
480  int _parmidx = _idx + 1;
481  UT_StringHolder result;
482  OP_Utils::evalOpParmInst(result, thissop, "dstattribs#", &_parmidx, cookparms.getCookTime(), 0);
483  return (result);
484  }
486  {
487  SOP_Node *thissop = cookparms.getNode();
488  if (!thissop) return (myNumswaps(_idx).typeinfo);
489  int _parmidx = _idx + 1;
490  int64 result;
491  OP_Utils::evalOpParmInst(result, thissop, "typeinfo#", &_parmidx, cookparms.getCookTime(), 0);
492  return (result);
493  }
494 
495 
496 private:
497  UT_Array<Numswaps> myNumswaps;
498 
499 };
static void loadData(UT_IStream &is, UT_Vector3I &v)
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &value)
bool load(UT_IStream &is)
void setParmValue(exint idx, const UT_StringHolder &value)
static void saveData(std::ostream &os, bool v)
void getParmValue(exint idx, UT_Vector4D &value) const
void getParmValue(exint idx, PRM_DataItemHandle &value) const
void getParmValue(exint idx, exint &value) const
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:492
T & z(void)
Definition: UT_Vector4.h:372
static void saveData(std::ostream &os, int64 v)
int64 opNumswaps__class(const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
int64 opNumswaps_typeinfo(const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
static void loadData(UT_IStream &is, UT_StringHolder &v)
exint bread(int32 *buffer, exint asize=1)
void setParmValue(exint idx, const fpreal &value)
static void saveData(std::ostream &os, UT_Matrix2D v)
fpreal getTime() const
Definition: OP_Context.h:34
const GLdouble * v
Definition: glcorearb.h:836
void getParmValue(exint idx, UT_Vector3D &value) const
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
UT_StringHolder createString(const UT_Array< Numswaps > &list) const
UT_String makeQuotedString(char delimiter='\'', bool escape_nonprinting=false) const
virtual const char * getParmName(exint fieldnum) const
static void saveData(std::ostream &os, UT_Matrix4D v)
T & x(void)
Definition: UT_Vector2.h:284
void getParmValue(exint idx, UT_Vector2D &value) const
void setParmValue(exint idx, const PRM_DataItemHandle &value)
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void getParmValue(exint idx, fpreal &value) const
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:581
bool operator==(const Numswaps &src) const
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
png_uint_32 i
Definition: png.h:2877
void doGetParmValue(exint idx, T &value) const
static void loadData(UT_IStream &is, int64 &v)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void setNumswaps(const UT_Array< Numswaps > &val)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &value) const
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:585
static void loadData(UT_IStream &is, UT_Vector2D &v)
long long int64
Definition: SYS_Types.h:100
static void saveData(std::ostream &os, PRM_DataItemHandle s)
const UT_Array< Numswaps > & getNumswaps() const
void getParmValue(exint idx, UT_StringHolder &value) const
exint length() const
char * findChar(int c) const
Find first occurrance of character. Returns NULL upon failure.
Definition: UT_String.h:550
void append(char character)
void getParmValue(exint idx, UT_Matrix3D &value) const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static void loadData(UT_IStream &is, UT_Vector4D &v)
SYS_FORCE_INLINE const char * buffer() const
int64 exint
Definition: SYS_Types.h:109
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
bool opNumswaps_enable(const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
double fpreal64
Definition: SYS_Types.h:185
exint read(bool *array, exint sz=1)
Definition: UT_IStream.h:280
int method
Definition: png.h:1924
void setParmValue(exint idx, const UT_Matrix2D &value)
void save(std::ostream &os) const
bool operator==(const SOP_AttribSwapParms &src) const
void doSetParmValue(exint idx, const T &value)
int64 opNumswaps_method(const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
static void loadData(UT_IStream &is, UT_Vector3D &v)
static void loadData(UT_IStream &is, UT_Vector4I &v)
void setParmValue(exint idx, const UT_Matrix4D &value)
GLboolean * data
Definition: glcorearb.h:130
int int32
Definition: SYS_Types.h:28
T & y(void)
Definition: UT_Vector4.h:370
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void saveData(std::ostream &os, fpreal64 v)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
static void saveData(std::ostream &os, UT_Matrix3D v)
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:111
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glcorearb.h:2539
exint entries() const
Alias of size(). size() is preferred.
Definition: UT_Array.h:446
void setParmValue(exint idx, const UT_Matrix3D &value)
SYS_FORCE_INLINE T & y(void)
Definition: UT_Vector3.h:583
GLsizei const GLfloat * value
Definition: glcorearb.h:823
double fpreal
Definition: SYS_Types.h:263
virtual void loadFromOpSubclass(const LoadParms &loadparms)
void strncpy(const char *src, exint maxlen)
int int appendSprintf(const char *fmt,...) SYS_PRINTF_CHECK_ATTRIBUTE(2
static void saveData(std::ostream &os, UT_Vector4D v)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
static void saveData(std::ostream &os, UT_StringHolder s)
void getParmValue(exint idx, UT_Matrix2D &value) const
GLuint GLfloat * val
Definition: glcorearb.h:1607
static void loadData(UT_IStream &is, UT_Vector2I &v)
#define SOP_API
Definition: SOP_API.h:10
void setParmValue(exint idx, const UT_Vector4D &value)
void setParmValue(exint idx, const UT_Vector3D &value)
const char * buffer() const
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:499
T & x(void)
Definition: UT_Vector4.h:368
static void saveData(std::ostream &os, UT_Vector2D v)
void getParmValue(exint idx, UT_Matrix4D &value) const
T & y(void)
Definition: UT_Vector2.h:286
UT_StringHolder opNumswaps_dstattribs(const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
virtual ParmType getParmType(exint fieldnum) const
static void saveData(std::ostream &os, UT_Vector3D v)
GLboolean r
Definition: glcorearb.h:1221
void setParmValue(exint idx, const UT_Vector2D &value)
void strcat(const char *src)
T & w(void)
Definition: UT_Vector4.h:374
virtual exint getNumParms() const
virtual void copyFrom(const SOP_NodeParms *src)
static void loadData(UT_IStream &is, fpreal64 &v)
UT_StringHolder opNumswaps_srcattribs(const SOP_NodeVerb::CookParms &cookparms, exint _idx) const
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
void setParmValue(exint idx, const exint &value)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
static void loadData(UT_IStream &is, bool &v)
SYS_FORCE_INLINE bool isstring() const
exint opNumswaps(const SOP_NodeVerb::CookParms &cookparms) const
GLuint GLsizei GLsizei * length
Definition: glcorearb.h:794
GLenum src
Definition: glcorearb.h:1792