public StdIntVector(StdIntVector other) : this(UsdCsPINVOKE.new_StdIntVector__SWIG_1(StdIntVector.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public StdIntVectorEnumerator(StdIntVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetItems(StdIntVector items, SdfListOpType type) { UsdCsPINVOKE.SdfIntListOp_SetItems(swigCPtr, StdIntVector.getCPtr(items), (int)type); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetOrderedItems(StdIntVector items) { UsdCsPINVOKE.SdfIntListOp_SetOrderedItems(swigCPtr, StdIntVector.getCPtr(items)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, StdIntVector values) { UsdCsPINVOKE.StdIntVector_SetRange(swigCPtr, index, StdIntVector.getCPtr(values)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static SdfIntListOp Create(StdIntVector prependedItems) { SdfIntListOp ret = new SdfIntListOp(UsdCsPINVOKE.SdfIntListOp_Create__SWIG_2(StdIntVector.getCPtr(prependedItems)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static SdfIntListOp CreateExplicit(StdIntVector explicitItems) { SdfIntListOp ret = new SdfIntListOp(UsdCsPINVOKE.SdfIntListOp_CreateExplicit__SWIG_0(StdIntVector.getCPtr(explicitItems)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool ReplaceOperations(SdfListOpType op, uint index, uint n, StdIntVector newItems) { bool ret = UsdCsPINVOKE.SdfIntListOp_ReplaceOperations(swigCPtr, (int)op, index, n, StdIntVector.getCPtr(newItems)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static StdIntVector Repeat(int value, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.StdIntVector_Repeat(value, count); StdIntVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new StdIntVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public StdIntVector GetRange(int index, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.StdIntVector_GetRange(swigCPtr, index, count); StdIntVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new StdIntVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public StdIntVector GetItems(SdfListOpType type) { StdIntVector ret = new StdIntVector(UsdCsPINVOKE.SdfIntListOp_GetItems(swigCPtr, (int)type), false); return(ret); }
public StdIntVector GetOrderedItems() { StdIntVector ret = new StdIntVector(UsdCsPINVOKE.SdfIntListOp_GetOrderedItems(swigCPtr), false); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StdIntVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }