Ejemplo n.º 1
0
 public StdReferenceVector(StdReferenceVector other) : this(UsdCsPINVOKE.new_StdReferenceVector__SWIG_1(StdReferenceVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public StdReferenceVectorEnumerator(StdReferenceVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, StdReferenceVector values)
 {
     UsdCsPINVOKE.StdReferenceVector_SetRange(swigCPtr, index, StdReferenceVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void SetItems(StdReferenceVector items, SdfListOpType type)
 {
     UsdCsPINVOKE.SdfReferenceListOp_SetItems(swigCPtr, StdReferenceVector.getCPtr(items), (int)type);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
 public void SetOrderedItems(StdReferenceVector items)
 {
     UsdCsPINVOKE.SdfReferenceListOp_SetOrderedItems(swigCPtr, StdReferenceVector.getCPtr(items));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
        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);
        }
Ejemplo n.º 7
0
        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);
        }
Ejemplo n.º 8
0
        public bool SetReferences(StdReferenceVector items)
        {
            bool ret = UsdCsPINVOKE.UsdReferences_SetReferences(swigCPtr, StdReferenceVector.getCPtr(items));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 9
0
        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);
        }
Ejemplo n.º 10
0
        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);
        }
Ejemplo n.º 11
0
 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);
 }
Ejemplo n.º 12
0
        public StdReferenceVector GetItems(SdfListOpType type)
        {
            StdReferenceVector ret = new StdReferenceVector(UsdCsPINVOKE.SdfReferenceListOp_GetItems(swigCPtr, (int)type), false);

            return(ret);
        }
Ejemplo n.º 13
0
        public StdReferenceVector GetOrderedItems()
        {
            StdReferenceVector ret = new StdReferenceVector(UsdCsPINVOKE.SdfReferenceListOp_GetOrderedItems(swigCPtr), false);

            return(ret);
        }