HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_Stash.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 <OP/OP_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 
25 {
26 public:
27  static int version() { return 1; }
28 
30  {
31  myStash = PRM_DataItemHandle(0);
32  myUseInputWhenEmpty = false;
33  myStashFile = ""_UTsh;
34  raw_myStashFile = ""_UTsh;
35 
36  }
37 
38  explicit SOP_StashParms(const SOP_StashParms &) = default;
39  SOP_StashParms &operator=(const SOP_StashParms &) = default;
40  SOP_StashParms(SOP_StashParms &&) noexcept = default;
41  SOP_StashParms &operator=(SOP_StashParms &&) noexcept = default;
42 
43  ~SOP_StashParms() override {}
44 
45  bool operator==(const SOP_StashParms &src) const
46  {
47  if (myStash != src.myStash)
48  { /* no == on PRM_DataItem */ return false; }
49  if (myUseInputWhenEmpty != src.myUseInputWhenEmpty) return false;
50  if (myStashFile != src.myStashFile) return false;
51  if (raw_myStashFile != src.raw_myStashFile) return false;
52 
53 
54  if (baseGetSignature() != src.baseGetSignature()) return false;
55 
56  return true;
57  }
58  bool operator!=(const SOP_StashParms &src) const
59  {
60  return !operator==(src);
61  }
62 
63 
64 
65  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
66  {
67  myStash = PRM_DataItemHandle(0);
68  if (true)
69  graph->evalOpParm(myStash, nodeidx, "stash", time, graph->isDirect()?nullptr:depnode);
70  myUseInputWhenEmpty = false;
71  if (true)
72  graph->evalOpParm(myUseInputWhenEmpty, nodeidx, "useinputwhenempty", time, graph->isDirect()?nullptr:depnode);
73  myStashFile = ""_UTsh;
74  if (true && ( (true&&!(((getUseInputWhenEmpty()!=0)))) ) )
75  graph->evalOpParm(myStashFile, nodeidx, "stashfile", time, graph->isDirect()?nullptr:depnode);
76  raw_myStashFile = ""_UTsh;
77  if (true && ( (true&&!(((getUseInputWhenEmpty()!=0)))) ) )
78  graph->evalOpParmRaw(raw_myStashFile, nodeidx, "stashfile", time, graph->isDirect()?nullptr:depnode);
79 
80  }
81 
82 
83  void loadFromOpSubclass(const LoadParms &loadparms) override
84  {
85  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
86  }
87 
88 
89  void copyFrom(const OP_NodeParms *src) override
90  {
91  *this = *((const SOP_StashParms *)src);
92  }
93 
94  template <typename T>
95  void
96  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
97  {
98  if (idx.size() < 1)
99  return;
100  UT_ASSERT(idx.size() == instance.size()+1);
101  if (idx.size() != instance.size()+1)
102  return;
103  switch (idx[0])
104  {
105  case 0:
106  coerceValue(value, myStash);
107  break;
108  case 1:
109  coerceValue(value, myUseInputWhenEmpty);
110  break;
111  case 2:
112  coerceValue(value, myStashFile);
113  break;
114 
115  }
116  }
117 
118  bool isParmColorRamp(exint idx) const override
119  {
120  switch (idx)
121  {
122 
123  }
124  return false;
125  }
126 
127  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
128  { doGetParmValue(idx, instance, value); }
129  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
130  { doGetParmValue(idx, instance, value); }
131  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
132  { doGetParmValue(idx, instance, value); }
133  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
134  { doGetParmValue(idx, instance, value); }
135  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
136  { doGetParmValue(idx, instance, value); }
137  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
138  { doGetParmValue(idx, instance, value); }
139  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
140  { doGetParmValue(idx, instance, value); }
141  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
142  { doGetParmValue(idx, instance, value); }
143  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
144  { doGetParmValue(idx, instance, value); }
145  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
146  { doGetParmValue(idx, instance, value); }
147  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
148  { doGetParmValue(idx, instance, value); }
149 
150  template <typename T>
151  void
152  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
153  {
154  if (idx.size() < 1)
155  return;
156  UT_ASSERT(idx.size() == instance.size()+1);
157  if (idx.size() != instance.size()+1)
158  return;
159  switch (idx[0])
160  {
161  case 0:
162  coerceValue(myStash, ( ( value ) ));
163  break;
164  case 1:
165  coerceValue(myUseInputWhenEmpty, ( ( value ) ));
166  break;
167  case 2:
168  coerceValue(myStashFile, ( ( value ) ));
169  break;
170 
171  }
172  }
173 
174  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
175  { doSetParmValue(idx, instance, value); }
176  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
177  { doSetParmValue(idx, instance, value); }
178  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
179  { doSetParmValue(idx, instance, value); }
180  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
181  { doSetParmValue(idx, instance, value); }
182  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
183  { doSetParmValue(idx, instance, value); }
184  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
185  { doSetParmValue(idx, instance, value); }
186  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
187  { doSetParmValue(idx, instance, value); }
188  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
189  { doSetParmValue(idx, instance, value); }
190  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
191  { doSetParmValue(idx, instance, value); }
192  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
193  { doSetParmValue(idx, instance, value); }
194  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
195  { doSetParmValue(idx, instance, value); }
196 
197  exint getNestNumParms(TempIndex idx) const override
198  {
199  if (idx.size() == 0)
200  return 3;
201  switch (idx[0])
202  {
203 
204  }
205  // Invalid
206  return 0;
207  }
208 
209  const char *getNestParmName(TempIndex fieldnum) const override
210  {
211  if (fieldnum.size() < 1)
212  return 0;
213  switch (fieldnum[0])
214  {
215  case 0:
216  return "stash";
217  case 1:
218  return "useinputwhenempty";
219  case 2:
220  return "stashfile";
221 
222  }
223  return 0;
224  }
225 
226  ParmType getNestParmType(TempIndex fieldnum) const override
227  {
228  if (fieldnum.size() < 1)
229  return PARM_UNSUPPORTED;
230  switch (fieldnum[0])
231  {
232  case 0:
233  return PARM_DATA;
234  case 1:
235  return PARM_INTEGER;
236  case 2:
237  return PARM_STRING;
238 
239  }
240  return PARM_UNSUPPORTED;
241  }
242 
243  // Boiler plate to load individual types.
244  static void loadData(UT_IStream &is, int64 &v)
245  { is.bread(&v, 1); }
246  static void loadData(UT_IStream &is, bool &v)
247  { int64 iv; is.bread(&iv, 1); v = iv; }
248  static void loadData(UT_IStream &is, fpreal64 &v)
249  { is.bread<fpreal64>(&v, 1); }
250  static void loadData(UT_IStream &is, UT_Vector2D &v)
251  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
252  static void loadData(UT_IStream &is, UT_Vector3D &v)
253  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
254  is.bread<fpreal64>(&v.z(), 1); }
255  static void loadData(UT_IStream &is, UT_Vector4D &v)
256  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
257  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
258  static void loadData(UT_IStream &is, UT_Matrix2D &v)
259  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
260  static void loadData(UT_IStream &is, UT_Matrix3D &v)
261  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
262  static void loadData(UT_IStream &is, UT_Matrix4D &v)
263  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
264  static void loadData(UT_IStream &is, UT_Vector2I &v)
265  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
266  static void loadData(UT_IStream &is, UT_Vector3I &v)
267  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
268  is.bread<int64>(&v.z(), 1); }
269  static void loadData(UT_IStream &is, UT_Vector4I &v)
270  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
271  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
273  { is.bread(v); }
275  { UT_StringHolder rampdata;
276  loadData(is, rampdata);
277  if (rampdata.isstring())
278  {
279  v.reset(new UT_Ramp());
280  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
281  v->load(istr);
282  }
283  else v.reset();
284  }
287  loadData(is, data);
288  if (data.isstring())
289  {
290  // Find the data type.
291  const char *colon = UT_StringWrap(data).findChar(':');
292  if (colon)
293  {
294  int typelen = colon - data.buffer();
296  type.strncpy(data.buffer(), typelen);
297  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
298 
299  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
300  }
301  }
302  else v.reset();
303  }
304 
305  static void saveData(std::ostream &os, int64 v)
306  { UTwrite(os, &v); }
307  static void saveData(std::ostream &os, bool v)
308  { int64 iv = v; UTwrite(os, &iv); }
309  static void saveData(std::ostream &os, fpreal64 v)
310  { UTwrite<fpreal64>(os, &v); }
311  static void saveData(std::ostream &os, UT_Vector2D v)
312  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
313  static void saveData(std::ostream &os, UT_Vector3D v)
314  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
315  UTwrite<fpreal64>(os, &v.z()); }
316  static void saveData(std::ostream &os, UT_Vector4D v)
317  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
318  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
319  static void saveData(std::ostream &os, UT_Matrix2D v)
321  static void saveData(std::ostream &os, UT_Matrix3D v)
323  static void saveData(std::ostream &os, UT_Matrix4D v)
325  static void saveData(std::ostream &os, UT_StringHolder s)
326  { UT_StringWrap(s).saveBinary(os); }
327  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
329  UT_OStringStream ostr;
330  if (s) s->save(ostr);
331  result = ostr.str();
332  saveData(os, result);
333  }
334  static void saveData(std::ostream &os, PRM_DataItemHandle s)
336  UT_OStringStream ostr;
337  if (s)
338  {
339  ostr << s->getDataTypeToken();
340  ostr << ":";
341  s->saveBinary(ostr);
342  }
343  result = ostr.str();
344  saveData(os, result);
345  }
346 
347 
348  void save(std::ostream &os) const
349  {
350  int32 v = version();
351  UTwrite(os, &v);
352  saveData(os, myStash);
353  saveData(os, myUseInputWhenEmpty);
354  saveData(os, myStashFile);
355  saveData(os, raw_myStashFile);
356 
357  }
358 
359  bool load(UT_IStream &is)
360  {
361  int32 v;
362  is.bread(&v, 1);
363  if (version() != v)
364  {
365  // Fail incompatible versions
366  return false;
367  }
368  loadData(is, myStash);
369  loadData(is, myUseInputWhenEmpty);
370  loadData(is, myStashFile);
371  loadData(is, raw_myStashFile);
372 
373  return true;
374  }
375 
376  PRM_DataItemHandle getStash() const { return myStash; }
377  void setStash(PRM_DataItemHandle val) { myStash = val; }
379  {
380  SOP_Node *thissop = cookparms.getNode();
381  if (!thissop) return getStash();
383  OP_Utils::evalOpParm(result, thissop, "stash", cookparms.getCookTime(), 0);
384  return result;
385  }
386  bool getUseInputWhenEmpty() const { return myUseInputWhenEmpty; }
387  void setUseInputWhenEmpty(bool val) { myUseInputWhenEmpty = val; }
388  bool opUseInputWhenEmpty(const SOP_NodeVerb::CookParms &cookparms) const
389  {
390  SOP_Node *thissop = cookparms.getNode();
391  if (!thissop) return getUseInputWhenEmpty();
392  bool result;
393  OP_Utils::evalOpParm(result, thissop, "useinputwhenempty", cookparms.getCookTime(), 0);
394  return result;
395  }
396  const UT_StringHolder & getStashFile() const { return myStashFile; }
397  void setStashFile(const UT_StringHolder & val) { myStashFile = val; }
399  {
400  SOP_Node *thissop = cookparms.getNode();
401  if (!thissop) return getStashFile();
403  OP_Utils::evalOpParm(result, thissop, "stashfile", cookparms.getCookTime(), 0);
404  return result;
405  }
406  const UT_StringHolder & raw_getStashFile() const { return raw_myStashFile; }
407  void raw_setStashFile(const UT_StringHolder & val) { raw_myStashFile = val; }
409  {
410  SOP_Node *thissop = cookparms.getNode();
411  if (!thissop) return raw_getStashFile();
413  OP_Utils::evalOpParmRaw(result, thissop, "stashfile", cookparms.getCookTime(), 0);
414  return result;
415  }
416 
417 private:
418  PRM_DataItemHandle myStash;
419  bool myUseInputWhenEmpty;
420  UT_StringHolder myStashFile;
421  UT_StringHolder raw_myStashFile;
422 
423 };
type
Definition: core.h:556
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
static void saveData(std::ostream &os, int64 v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
void setUseInputWhenEmpty(bool val)
static void loadData(UT_IStream &is, UT_Vector4I &v)
static void loadData(UT_IStream &is, fpreal64 &v)
static void saveData(std::ostream &os, fpreal64 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:403
static void saveData(std::ostream &os, UT_Vector2D v)
static void loadData(UT_IStream &is, UT_Vector2I &v)
GLboolean * data
Definition: glcorearb.h:131
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector4.h:495
UT_StringHolder raw_opStashFile(const SOP_NodeVerb::CookParms &cookparms) const
const GLdouble * v
Definition: glcorearb.h:837
const char * getNestParmName(TempIndex fieldnum) const override
fpreal getTime() const
Definition: OP_Context.h:63
GLsizei const GLfloat * value
Definition: glcorearb.h:824
bool operator!=(const SOP_StashParms &src) const
PRM_DataItemHandle getStash() const
const OP_Context & context() const
Definition: OP_NodeParms.h:105
virtual void evalOpParmRaw(UT_StringHolder &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector3.h:669
int64 exint
Definition: SYS_Types.h:125
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
SYS_FORCE_INLINE const char * buffer() const
GLdouble s
Definition: glad.h:3009
void setStashFile(const UT_StringHolder &val)
An output stream object that owns its own string buffer storage.
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void loadFromOpSubclass(const LoadParms &loadparms) override
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
static void saveData(std::ostream &os, UT_Vector4D v)
**But if you need a result
Definition: thread.h:622
static void loadData(UT_IStream &is, int64 &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
exint nodeIdx() const
Definition: OP_NodeParms.h:103
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:493
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
const UT_StringHolder & raw_getStashFile() const
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
void save(std::ostream &os) const
bool opUseInputWhenEmpty(const SOP_NodeVerb::CookParms &cookparms) const
double fpreal64
Definition: SYS_Types.h:201
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: APEX_Include.h:55
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:426
bool getUseInputWhenEmpty() const
exint getNestNumParms(TempIndex idx) const override
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
static void loadData(UT_IStream &is, UT_Vector3D &v)
static void saveData(std::ostream &os, UT_Matrix3D v)
PRM_DataItemHandle opStash(const SOP_NodeVerb::CookParms &cookparms) const
bool operator==(const SOP_StashParms &src) const
static void saveData(std::ostream &os, bool v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
exint length() const
SYS_FORCE_INLINE const char * buffer() const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:36
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:497
void raw_setStashFile(const UT_StringHolder &val)
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:102
static void loadData(UT_IStream &is, UT_Vector2D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
static void saveData(std::ostream &os, PRM_DataItemHandle s)
bool isParmColorRamp(exint idx) const override
long long int64
Definition: SYS_Types.h:116
void copyFrom(const OP_NodeParms *src) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
static void saveData(std::ostream &os, UT_Vector3D v)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
static void loadData(UT_IStream &is, UT_Matrix2D &v)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:306
GT_API const UT_StringHolder version
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
ParmType getNestParmType(TempIndex fieldnum) const override
void coerceValue(T &result, const S &src) const
Definition: OP_NodeParms.h:318
void setStash(PRM_DataItemHandle val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
fpreal64 fpreal
Definition: SYS_Types.h:283
static void loadData(UT_IStream &is, UT_Vector4D &v)
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:107
static void loadData(UT_IStream &is, bool &v)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:96
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:499
GLuint GLfloat * val
Definition: glcorearb.h:1608
virtual UT_StringHolder baseGetSignature() const
Definition: OP_NodeParms.h:302
static void loadData(UT_IStream &is, UT_Vector3I &v)
#define SOP_API
Definition: SOP_API.h:10
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void loadData(UT_IStream &is, UT_StringHolder &v)
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:432
const char * findChar(int c) const
Definition: UT_String.h:1421
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:165
static int version()
GLboolean r
Definition: glcorearb.h:1222
exint bread(uint8 *buffer, exint asize=1)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
static void saveData(std::ostream &os, UT_StringHolder s)
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:667
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
UT_StringHolder opStashFile(const SOP_NodeVerb::CookParms &cookparms) const
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
virtual bool isDirect() const =0
Direct proxies mirror actual nodes:
const UT_StringHolder & getStashFile() const
bool load(UT_IStream &is)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:428
SYS_FORCE_INLINE bool isstring() const
OP_NodeParms & operator=(const OP_NodeParms &)=default
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
static void saveData(std::ostream &os, UT_Matrix2D v)
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:665