Beispiel #1
0
 public TfTypeVector(TfTypeVector other) : this(UsdCsPINVOKE.new_TfTypeVector__SWIG_1(TfTypeVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public TfTypeVectorEnumerator(TfTypeVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
 public void SetExtraDiscoveryPlugins(TfTypeVector pluginTypes)
 {
     UsdCsPINVOKE.NdrRegistry_SetExtraDiscoveryPlugins__SWIG_1(swigCPtr, TfTypeVector.getCPtr(pluginTypes));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
 public void SetRange(int index, TfTypeVector values)
 {
     UsdCsPINVOKE.TfTypeVector_SetRange(swigCPtr, index, TfTypeVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static TfTypeVector GetDirectlyDerivedTypes(TfType arg0)
        {
            TfTypeVector ret = new TfTypeVector(UsdCsPINVOKE.PlugRegistry_GetDirectlyDerivedTypes(TfType.getCPtr(arg0)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #6
0
        public static TfTypeVector Repeat(TfType value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.TfTypeVector_Repeat(TfType.getCPtr(value), count);
            TfTypeVector          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new TfTypeVector(cPtr, true);

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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #8
0
 public void GetAllAncestorTypes(TfTypeVector result)
 {
     UsdCsPINVOKE.TfType_GetAllAncestorTypes(swigCPtr, TfTypeVector.getCPtr(result));
 }
Beispiel #9
0
        public TfTypeVector GetDirectlyDerivedTypes()
        {
            TfTypeVector ret = new TfTypeVector(UsdCsPINVOKE.TfType_GetDirectlyDerivedTypes(swigCPtr), true);

            return(ret);
        }
Beispiel #10
0
        public TfTypeVector GetBaseTypes()
        {
            TfTypeVector ret = new TfTypeVector(UsdCsPINVOKE.TfType_GetBaseTypes(swigCPtr), true);

            return(ret);
        }
Beispiel #11
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TfTypeVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }