Пример #1
0
 public SdfRelationshipSpecHandleVector(SdfRelationshipSpecHandleVector other) : this(UsdCsPINVOKE.new_SdfRelationshipSpecHandleVector__SWIG_1(SdfRelationshipSpecHandleVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public SdfRelationshipSpecHandleVectorEnumerator(SdfRelationshipSpecHandleVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Пример #3
0
 public void SetRange(int index, SdfRelationshipSpecHandleVector values)
 {
     UsdCsPINVOKE.SdfRelationshipSpecHandleVector_SetRange(swigCPtr, index, SdfRelationshipSpecHandleVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
        public static SdfRelationshipSpecHandleVector Repeat(SdfRelationshipSpecHandle value, int count)
        {
            global::System.IntPtr           cPtr = UsdCsPINVOKE.SdfRelationshipSpecHandleVector_Repeat(SdfRelationshipSpecHandle.getCPtr(value), count);
            SdfRelationshipSpecHandleVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdfRelationshipSpecHandleVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #5
0
        public SdfRelationshipSpecHandleVector GetRange(int index, int count)
        {
            global::System.IntPtr           cPtr = UsdCsPINVOKE.SdfRelationshipSpecHandleVector_GetRange(swigCPtr, index, count);
            SdfRelationshipSpecHandleVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdfRelationshipSpecHandleVector(cPtr, true);

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