Ejemplo n.º 1
0
 public StdUIntVector(StdUIntVector other) : this(UsdCsPINVOKE.new_StdUIntVector__SWIG_1(StdUIntVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public StdUIntVectorEnumerator(StdUIntVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetItems(StdUIntVector items, SdfListOpType type)
 {
     UsdCsPINVOKE.SdfUIntListOp_SetItems(swigCPtr, StdUIntVector.getCPtr(items), (int)type);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void SetOrderedItems(StdUIntVector items)
 {
     UsdCsPINVOKE.SdfUIntListOp_SetOrderedItems(swigCPtr, StdUIntVector.getCPtr(items));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
 public void SetRange(int index, StdUIntVector values)
 {
     UsdCsPINVOKE.StdUIntVector_SetRange(swigCPtr, index, StdUIntVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
        public static SdfUIntListOp Create(StdUIntVector prependedItems)
        {
            SdfUIntListOp ret = new SdfUIntListOp(UsdCsPINVOKE.SdfUIntListOp_Create__SWIG_2(StdUIntVector.getCPtr(prependedItems)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 7
0
        public static SdfUIntListOp CreateExplicit(StdUIntVector explicitItems)
        {
            SdfUIntListOp ret = new SdfUIntListOp(UsdCsPINVOKE.SdfUIntListOp_CreateExplicit__SWIG_0(StdUIntVector.getCPtr(explicitItems)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 8
0
        public bool ReplaceOperations(SdfListOpType op, uint index, uint n, StdUIntVector newItems)
        {
            bool ret = UsdCsPINVOKE.SdfUIntListOp_ReplaceOperations(swigCPtr, (int)op, index, n, StdUIntVector.getCPtr(newItems));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 9
0
        public static StdUIntVector Repeat(uint value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.StdUIntVector_Repeat(value, count);
            StdUIntVector         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StdUIntVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 10
0
        public StdUIntVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.StdUIntVector_GetRange(swigCPtr, index, count);
            StdUIntVector         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StdUIntVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 11
0
        public StdUIntVector GetItems(SdfListOpType type)
        {
            StdUIntVector ret = new StdUIntVector(UsdCsPINVOKE.SdfUIntListOp_GetItems(swigCPtr, (int)type), false);

            return(ret);
        }
Ejemplo n.º 12
0
        public StdUIntVector GetOrderedItems()
        {
            StdUIntVector ret = new StdUIntVector(UsdCsPINVOKE.SdfUIntListOp_GetOrderedItems(swigCPtr), false);

            return(ret);
        }
Ejemplo n.º 13
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StdUIntVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }