예제 #1
0
 public StdIntVector(StdIntVector other) : this(UsdCsPINVOKE.new_StdIntVector__SWIG_1(StdIntVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public StdIntVectorEnumerator(StdIntVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetItems(StdIntVector items, SdfListOpType type)
 {
     UsdCsPINVOKE.SdfIntListOp_SetItems(swigCPtr, StdIntVector.getCPtr(items), (int)type);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 public void SetOrderedItems(StdIntVector items)
 {
     UsdCsPINVOKE.SdfIntListOp_SetOrderedItems(swigCPtr, StdIntVector.getCPtr(items));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #5
0
 public void SetRange(int index, StdIntVector values)
 {
     UsdCsPINVOKE.StdIntVector_SetRange(swigCPtr, index, StdIntVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #6
0
        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);
        }
예제 #7
0
        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);
        }
예제 #8
0
        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);
        }
예제 #9
0
        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);
        }
예제 #10
0
        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);
        }
예제 #11
0
        public StdIntVector GetItems(SdfListOpType type)
        {
            StdIntVector ret = new StdIntVector(UsdCsPINVOKE.SdfIntListOp_GetItems(swigCPtr, (int)type), false);

            return(ret);
        }
예제 #12
0
        public StdIntVector GetOrderedItems()
        {
            StdIntVector ret = new StdIntVector(UsdCsPINVOKE.SdfIntListOp_GetOrderedItems(swigCPtr), false);

            return(ret);
        }
예제 #13
0
 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);
 }