Esempio n. 1
0
 public StdUInt64Vector(StdUInt64Vector other) : this(UsdCsPINVOKE.new_StdUInt64Vector__SWIG_1(StdUInt64Vector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public StdUInt64VectorEnumerator(StdUInt64Vector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
 public void SetItems(StdUInt64Vector items, SdfListOpType type)
 {
     UsdCsPINVOKE.SdfUInt64ListOp_SetItems(swigCPtr, StdUInt64Vector.getCPtr(items), (int)type);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
 public void SetOrderedItems(StdUInt64Vector items)
 {
     UsdCsPINVOKE.SdfUInt64ListOp_SetOrderedItems(swigCPtr, StdUInt64Vector.getCPtr(items));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
 public void SetRange(int index, StdUInt64Vector values)
 {
     UsdCsPINVOKE.StdUInt64Vector_SetRange(swigCPtr, index, StdUInt64Vector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 6
0
        public static SdfUInt64ListOp Create(StdUInt64Vector prependedItems)
        {
            SdfUInt64ListOp ret = new SdfUInt64ListOp(UsdCsPINVOKE.SdfUInt64ListOp_Create__SWIG_2(StdUInt64Vector.getCPtr(prependedItems)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 7
0
        public static SdfUInt64ListOp CreateExplicit(StdUInt64Vector explicitItems)
        {
            SdfUInt64ListOp ret = new SdfUInt64ListOp(UsdCsPINVOKE.SdfUInt64ListOp_CreateExplicit__SWIG_0(StdUInt64Vector.getCPtr(explicitItems)), true);

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 9
0
        public static StdUInt64Vector Repeat(ulong value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.StdUInt64Vector_Repeat(value, count);
            StdUInt64Vector       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StdUInt64Vector(cPtr, true);

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 11
0
        public StdUInt64Vector GetItems(SdfListOpType type)
        {
            StdUInt64Vector ret = new StdUInt64Vector(UsdCsPINVOKE.SdfUInt64ListOp_GetItems(swigCPtr, (int)type), false);

            return(ret);
        }
Esempio n. 12
0
        public StdUInt64Vector GetOrderedItems()
        {
            StdUInt64Vector ret = new StdUInt64Vector(UsdCsPINVOKE.SdfUInt64ListOp_GetOrderedItems(swigCPtr), false);

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