public UsdGeomLongVectorEnumerator(UsdGeomLongVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public UsdGeomLongVector(UsdGeomLongVector other) : this(UsdCsPINVOKE.new_UsdGeomLongVector__SWIG_1(UsdGeomLongVector.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, UsdGeomLongVector values) { UsdCsPINVOKE.UsdGeomLongVector_SetRange(swigCPtr, index, UsdGeomLongVector.getCPtr(values)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetItems(UsdGeomLongVector items, SdfListOpType type) { UsdCsPINVOKE.SdfInt64ListOp_SetItems(swigCPtr, UsdGeomLongVector.getCPtr(items), (int)type); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetOrderedItems(UsdGeomLongVector items) { UsdCsPINVOKE.SdfInt64ListOp_SetOrderedItems(swigCPtr, UsdGeomLongVector.getCPtr(items)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public bool ReplaceOperations(SdfListOpType op, uint index, uint n, UsdGeomLongVector newItems) { bool ret = UsdCsPINVOKE.SdfInt64ListOp_ReplaceOperations(swigCPtr, (int)op, index, n, UsdGeomLongVector.getCPtr(newItems)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static SdfInt64ListOp Create(UsdGeomLongVector prependedItems) { SdfInt64ListOp ret = new SdfInt64ListOp(UsdCsPINVOKE.SdfInt64ListOp_Create__SWIG_2(UsdGeomLongVector.getCPtr(prependedItems)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static UsdGeomLongVector Repeat(long value, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomLongVector_Repeat(value, count); UsdGeomLongVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomLongVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public UsdGeomLongVector GetRange(int index, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomLongVector_GetRange(swigCPtr, index, count); UsdGeomLongVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomLongVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdGeomLongVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public UsdGeomLongVector GetAppendedItems() { UsdGeomLongVector ret = new UsdGeomLongVector(UsdCsPINVOKE.SdfInt64ListOp_GetAppendedItems(swigCPtr), false); return(ret); }
public UsdGeomLongVector GetItems(SdfListOpType type) { UsdGeomLongVector ret = new UsdGeomLongVector(UsdCsPINVOKE.SdfInt64ListOp_GetItems(swigCPtr, (int)type), false); return(ret); }