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 <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_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  return true;
78  }
79  bool operator!=(const SOP_GroupInvertParms &src) const
80  {
81  return !operator==(src);
82  }
84 
85 
86 
87  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
88  {
89  myGrouptype = 0;
90  if (true)
91  graph->evalOpParm(myGrouptype, nodeidx, "grouptype", time, 0);
92  myGroup = ""_UTsh;
93  if (true)
94  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
95  myNewname = ""_UTsh;
96  if (true)
97  graph->evalOpParm(myNewname, nodeidx, "newname", time, 0);
98 
99  }
100 
101 
102  void loadFromOpSubclass(const LoadParms &loadparms) override
103  {
104  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
105  }
106 
107 
108  void copyFrom(const OP_NodeParms *src) override
109  {
110  *this = *((const SOP_GroupInvertParms *)src);
111  }
112 
113  template <typename T>
114  void
115  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
116  {
117  if (idx.size() < 1)
118  return;
119  UT_ASSERT(idx.size() == instance.size()+1);
120  if (idx.size() != instance.size()+1)
121  return;
122  switch (idx[0])
123  {
124  case 0:
125  coerceValue(value, myGrouptype);
126  break;
127  case 1:
128  coerceValue(value, myGroup);
129  break;
130  case 2:
131  coerceValue(value, myNewname);
132  break;
133 
134  }
135  }
136 
137  bool isParmColorRamp(exint idx) const override
138  {
139  switch (idx)
140  {
141 
142  }
143  return false;
144  }
145 
146  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
147  { doGetParmValue(idx, instance, value); }
148  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
149  { doGetParmValue(idx, instance, value); }
150  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
151  { doGetParmValue(idx, instance, value); }
152  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
153  { doGetParmValue(idx, instance, value); }
154  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
155  { doGetParmValue(idx, instance, value); }
156  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
157  { doGetParmValue(idx, instance, value); }
158  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
159  { doGetParmValue(idx, instance, value); }
160  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
161  { doGetParmValue(idx, instance, value); }
162  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
163  { doGetParmValue(idx, instance, value); }
164  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
165  { doGetParmValue(idx, instance, value); }
166  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
167  { doGetParmValue(idx, instance, value); }
168 
169  template <typename T>
170  void
171  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
172  {
173  if (idx.size() < 1)
174  return;
175  UT_ASSERT(idx.size() == instance.size()+1);
176  if (idx.size() != instance.size()+1)
177  return;
178  switch (idx[0])
179  {
180  case 0:
181  coerceValue(myGrouptype, clampMinValue(0, clampMaxValue(4, value ) ));
182  break;
183  case 1:
184  coerceValue(myGroup, ( ( value ) ));
185  break;
186  case 2:
187  coerceValue(myNewname, ( ( value ) ));
188  break;
189 
190  }
191  }
192 
193  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
194  { doSetParmValue(idx, instance, value); }
195  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
196  { doSetParmValue(idx, instance, value); }
197  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
198  { doSetParmValue(idx, instance, value); }
199  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
200  { doSetParmValue(idx, instance, value); }
201  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
202  { doSetParmValue(idx, instance, value); }
203  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
204  { doSetParmValue(idx, instance, value); }
205  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
206  { doSetParmValue(idx, instance, value); }
207  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
208  { doSetParmValue(idx, instance, value); }
209  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
210  { doSetParmValue(idx, instance, value); }
211  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
212  { doSetParmValue(idx, instance, value); }
213  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
214  { doSetParmValue(idx, instance, value); }
215 
216  exint getNestNumParms(TempIndex idx) const override
217  {
218  if (idx.size() == 0)
219  return 3;
220  switch (idx[0])
221  {
222 
223  }
224  // Invalid
225  return 0;
226  }
227 
228  const char *getNestParmName(TempIndex fieldnum) const override
229  {
230  if (fieldnum.size() < 1)
231  return 0;
232  switch (fieldnum[0])
233  {
234  case 0:
235  return "grouptype";
236  case 1:
237  return "group";
238  case 2:
239  return "newname";
240 
241  }
242  return 0;
243  }
244 
245  ParmType getNestParmType(TempIndex fieldnum) const override
246  {
247  if (fieldnum.size() < 1)
248  return PARM_UNSUPPORTED;
249  switch (fieldnum[0])
250  {
251  case 0:
252  return PARM_INTEGER;
253  case 1:
254  return PARM_STRING;
255  case 2:
256  return PARM_STRING;
257 
258  }
259  return PARM_UNSUPPORTED;
260  }
261 
262  // Boiler plate to load individual types.
263  static void loadData(UT_IStream &is, int64 &v)
264  { is.bread(&v, 1); }
265  static void loadData(UT_IStream &is, bool &v)
266  { int64 iv; is.bread(&iv, 1); v = iv; }
267  static void loadData(UT_IStream &is, fpreal64 &v)
268  { is.bread<fpreal64>(&v, 1); }
269  static void loadData(UT_IStream &is, UT_Vector2D &v)
270  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
271  static void loadData(UT_IStream &is, UT_Vector3D &v)
272  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
273  is.bread<fpreal64>(&v.z(), 1); }
274  static void loadData(UT_IStream &is, UT_Vector4D &v)
275  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
276  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
277  static void loadData(UT_IStream &is, UT_Matrix2D &v)
278  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
279  static void loadData(UT_IStream &is, UT_Matrix3D &v)
280  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
281  static void loadData(UT_IStream &is, UT_Matrix4D &v)
282  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
283  static void loadData(UT_IStream &is, UT_Vector2I &v)
284  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
285  static void loadData(UT_IStream &is, UT_Vector3I &v)
286  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
287  is.bread<int64>(&v.z(), 1); }
288  static void loadData(UT_IStream &is, UT_Vector4I &v)
289  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
290  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
292  { is.bread(v); }
294  { UT_StringHolder rampdata;
295  loadData(is, rampdata);
296  if (rampdata.isstring())
297  {
298  v.reset(new UT_Ramp());
299  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
300  v->load(istr);
301  }
302  else v.reset();
303  }
306  loadData(is, data);
307  if (data.isstring())
308  {
309  // Find the data type.
310  const char *colon = UT_StringWrap(data).findChar(':');
311  if (colon)
312  {
313  int typelen = colon - data.buffer();
315  type.strncpy(data.buffer(), typelen);
316  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
317 
318  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
319  }
320  }
321  else v.reset();
322  }
323 
324  static void saveData(std::ostream &os, int64 v)
325  { UTwrite(os, &v); }
326  static void saveData(std::ostream &os, bool v)
327  { int64 iv = v; UTwrite(os, &iv); }
328  static void saveData(std::ostream &os, fpreal64 v)
329  { UTwrite<fpreal64>(os, &v); }
330  static void saveData(std::ostream &os, UT_Vector2D v)
331  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
332  static void saveData(std::ostream &os, UT_Vector3D v)
333  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
334  UTwrite<fpreal64>(os, &v.z()); }
335  static void saveData(std::ostream &os, UT_Vector4D v)
336  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
337  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
338  static void saveData(std::ostream &os, UT_Matrix2D v)
340  static void saveData(std::ostream &os, UT_Matrix3D v)
342  static void saveData(std::ostream &os, UT_Matrix4D v)
344  static void saveData(std::ostream &os, UT_StringHolder s)
345  { UT_StringWrap(s).saveBinary(os); }
346  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
348  UT_OStringStream ostr;
349  if (s) s->save(ostr);
350  result = ostr.str();
351  saveData(os, result);
352  }
353  static void saveData(std::ostream &os, PRM_DataItemHandle s)
355  UT_OStringStream ostr;
356  if (s)
357  {
358  ostr << s->getDataTypeToken();
359  ostr << ":";
360  s->saveBinary(ostr);
361  }
362  result = ostr.str();
363  saveData(os, result);
364  }
365 
366 
367  void save(std::ostream &os) const
368  {
369  int32 v = version();
370  UTwrite(os, &v);
371  saveData(os, myGrouptype);
372  saveData(os, myGroup);
373  saveData(os, myNewname);
374 
375  }
376 
377  bool load(UT_IStream &is)
378  {
379  int32 v;
380  is.bread(&v, 1);
381  if (version() != v)
382  {
383  // Fail incompatible versions
384  return false;
385  }
386  loadData(is, myGrouptype);
387  loadData(is, myGroup);
388  loadData(is, myNewname);
389 
390  return true;
391  }
392 
393  Grouptype getGrouptype() const { return Grouptype(myGrouptype); }
394  void setGrouptype(Grouptype val) { myGrouptype = int64(val); }
396  {
397  SOP_Node *thissop = cookparms.getNode();
398  if (!thissop) return getGrouptype();
399  int64 result;
400  OP_Utils::evalOpParm(result, thissop, "grouptype", cookparms.getCookTime(), 0);
401  return Grouptype(result);
402  }
403  const UT_StringHolder & getGroup() const { return myGroup; }
404  void setGroup(const UT_StringHolder & val) { myGroup = val; }
406  {
407  SOP_Node *thissop = cookparms.getNode();
408  if (!thissop) return getGroup();
410  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
411  return result;
412  }
413  const UT_StringHolder & getNewname() const { return myNewname; }
414  void setNewname(const UT_StringHolder & val) { myNewname = val; }
416  {
417  SOP_Node *thissop = cookparms.getNode();
418  if (!thissop) return getNewname();
420  OP_Utils::evalOpParm(result, thissop, "newname", cookparms.getCookTime(), 0);
421  return result;
422  }
423 
424 private:
425  int64 myGrouptype;
426  UT_StringHolder myGroup;
427  UT_StringHolder myNewname;
428 
429 };
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:62
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:613
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
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:296
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:277
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:92
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
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:361
const char * findChar(int c) const
Definition: UT_String.h:1395
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
Definition: core.h:1131
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
type
Definition: core.h:1059
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
const UT_StringHolder & getNewname() const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:97
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)