public VtUInt64Array(VtUInt64Array other) : this(UsdCsPINVOKE.new_VtUInt64Array__SWIG_1(VtUInt64Array.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public VtValue(VtUInt64Array obj) : this(UsdCsPINVOKE.new_VtValue__SWIG_41(VtUInt64Array.getCPtr(obj)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void swap(VtUInt64Array other) { UsdCsPINVOKE.VtUInt64Array_swap(swigCPtr, VtUInt64Array.getCPtr(other)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static bool Equals(VtUInt64Array lhs, VtUInt64Array rhs) { bool ret = UsdCsPINVOKE.VtUInt64Array_Equals(VtUInt64Array.getCPtr(lhs), VtUInt64Array.getCPtr(rhs)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool IsIdentical(VtUInt64Array other) { bool ret = UsdCsPINVOKE.VtUInt64Array_IsIdentical(swigCPtr, VtUInt64Array.getCPtr(other)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
static public VtUInt64Array ToVtArray(ulong[] input) { var output = new VtUInt64Array((uint)input.Length); unsafe { fixed(ulong *p = input) { output.CopyFromArray((IntPtr)p); } } return(output); }
static public void FromVtArray(VtUInt64Array input, ref ulong[] output) { if (output.Length != input.size()) { output = UsdIo.ArrayAllocator.Malloc <ulong>(input.size()); } unsafe { fixed(ulong *p = output) { input.CopyToArray((IntPtr)p); } } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VtUInt64Array obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
// Convenience API: generates garbage, do not use when performance matters. static public ulong[] FromVtArray(VtUInt64Array input) { ulong[] output = UsdIo.ArrayAllocator.Malloc <ulong>(input.size()); FromVtArray(input, ref output); return(output); }
static public List <ulong> ListFromVtArray(VtUInt64Array input) { return(FromVtArray(input).ToList()); }