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