public StdReferenceVector(StdReferenceVector other) : this(UsdCsPINVOKE.new_StdReferenceVector__SWIG_1(StdReferenceVector.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public StdReferenceVectorEnumerator(StdReferenceVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, StdReferenceVector values) { UsdCsPINVOKE.StdReferenceVector_SetRange(swigCPtr, index, StdReferenceVector.getCPtr(values)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetItems(StdReferenceVector items, SdfListOpType type) { UsdCsPINVOKE.SdfReferenceListOp_SetItems(swigCPtr, StdReferenceVector.getCPtr(items), (int)type); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetOrderedItems(StdReferenceVector items) { UsdCsPINVOKE.SdfReferenceListOp_SetOrderedItems(swigCPtr, StdReferenceVector.getCPtr(items)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static SdfReferenceListOp Create(StdReferenceVector prependedItems) { SdfReferenceListOp ret = new SdfReferenceListOp(UsdCsPINVOKE.SdfReferenceListOp_Create__SWIG_2(StdReferenceVector.getCPtr(prependedItems)), true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool ReplaceOperations(SdfListOpType op, uint index, uint n, StdReferenceVector newItems) { bool ret = UsdCsPINVOKE.SdfReferenceListOp_ReplaceOperations(swigCPtr, (int)op, index, n, StdReferenceVector.getCPtr(newItems)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool SetReferences(StdReferenceVector items) { bool ret = UsdCsPINVOKE.UsdReferences_SetReferences(swigCPtr, StdReferenceVector.getCPtr(items)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static StdReferenceVector Repeat(SdfReference value, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.StdReferenceVector_Repeat(SdfReference.getCPtr(value), count); StdReferenceVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new StdReferenceVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public StdReferenceVector GetRange(int index, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.StdReferenceVector_GetRange(swigCPtr, index, count); StdReferenceVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new StdReferenceVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StdReferenceVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public StdReferenceVector GetItems(SdfListOpType type) { StdReferenceVector ret = new StdReferenceVector(UsdCsPINVOKE.SdfReferenceListOp_GetItems(swigCPtr, (int)type), false); return(ret); }
public StdReferenceVector GetOrderedItems() { StdReferenceVector ret = new StdReferenceVector(UsdCsPINVOKE.SdfReferenceListOp_GetOrderedItems(swigCPtr), false); return(ret); }