Example #1
0
 public SdfInt64ListOpVector(SdfInt64ListOpVector other) : this(UsdCsPINVOKE.new_SdfInt64ListOpVector__SWIG_1(SdfInt64ListOpVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public SdfInt64ListOpVectorEnumerator(SdfInt64ListOpVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #3
0
 public void SetRange(int index, SdfInt64ListOpVector values)
 {
     UsdCsPINVOKE.SdfInt64ListOpVector_SetRange(swigCPtr, index, SdfInt64ListOpVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
        public static SdfInt64ListOpVector Repeat(SdfInt64ListOp value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.SdfInt64ListOpVector_Repeat(SdfInt64ListOp.getCPtr(value), count);
            SdfInt64ListOpVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdfInt64ListOpVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
        public SdfInt64ListOpVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.SdfInt64ListOpVector_GetRange(swigCPtr, index, count);
            SdfInt64ListOpVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdfInt64ListOpVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfInt64ListOpVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }