Esempio n. 1
0
 public static void GetAllDerivedTypes(TfType arg0, SWIGTYPE_p_std__setT_TfType_t result)
 {
     UsdCsPINVOKE.PlugRegistry_GetAllDerivedTypes(TfType.getCPtr(arg0), SWIGTYPE_p_std__setT_TfType_t.getCPtr(result));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public void AddAlias(TfType arg0, string name)
 {
     UsdCsPINVOKE.TfType_AddAlias(swigCPtr, TfType.getCPtr(arg0), name);
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
        public StdStringVector GetAliases(TfType derivedType)
        {
            StdStringVector ret = new StdStringVector(UsdCsPINVOKE.TfType_GetAliases(swigCPtr, TfType.getCPtr(derivedType)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
        public TfType FindDerivedByName(string name)
        {
            TfType ret = new TfType(UsdCsPINVOKE.TfType_FindDerivedByName(swigCPtr, name), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 5
0
        public bool DeclaresType(TfType type, bool includeSubclasses)
        {
            bool ret = UsdCsPINVOKE.PlugPlugin_DeclaresType__SWIG_0(swigCPtr, TfType.getCPtr(type), includeSubclasses);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
        public static TfType Find(SWIGTYPE_p_std__type_info t)
        {
            TfType ret = new TfType(UsdCsPINVOKE.TfType_Find(SWIGTYPE_p_std__type_info.getCPtr(t)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public TfType GetTypeForInfo(TfToken key)
        {
            TfType ret = new TfType(UsdCsPINVOKE.SdfPropertySpecHandle_GetTypeForInfo(swigCPtr, TfToken.getCPtr(key)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 8
0
        public static TfType Declare(string typeName)
        {
            TfType ret = new TfType(UsdCsPINVOKE.TfType_Declare(typeName), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 9
0
        public UsdAttribute CreateRiAttribute(TfToken name, TfType tfType)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdRiStatementsAPI_CreateRiAttribute__SWIG_3(swigCPtr, TfToken.getCPtr(name), TfType.getCPtr(tfType)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 10
0
        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);
        }
Esempio n. 11
0
        public static TfType FindDerivedTypeByName(TfType arg0, string typeName)
        {
            TfType ret = new TfType(UsdCsPINVOKE.PlugRegistry_FindDerivedTypeByName(TfType.getCPtr(arg0), typeName), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 12
0
        public bool RemoveAPI(TfType schemaType)
        {
            bool ret = UsdCsPINVOKE.UsdPrim_RemoveAPI__SWIG_3(swigCPtr, TfType.getCPtr(schemaType));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 13
0
        public JsValue GetDataFromPluginMetaData(TfType type, string key)
        {
            JsValue ret = new JsValue(UsdCsPINVOKE.PlugRegistry_GetDataFromPluginMetaData(swigCPtr, TfType.getCPtr(type), key), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 14
0
        public static TfType FindTypeByName(string typeName)
        {
            TfType ret = new TfType(UsdCsPINVOKE.PlugRegistry_FindTypeByName(typeName), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 15
0
        public SWIGTYPE_p_TfDeclarePtrsT_PlugPlugin_t__Ptr GetPluginForType(TfType t)
        {
            SWIGTYPE_p_TfDeclarePtrsT_PlugPlugin_t__Ptr ret = new SWIGTYPE_p_TfDeclarePtrsT_PlugPlugin_t__Ptr(UsdCsPINVOKE.PlugRegistry_GetPluginForType(swigCPtr, TfType.getCPtr(t)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 16
0
        public string GetStringFromPluginMetaData(TfType type, string key)
        {
            string ret = UsdCsPINVOKE.PlugRegistry_GetStringFromPluginMetaData(swigCPtr, TfType.getCPtr(type), key);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 17
0
        public JsObject GetMetadataForType(TfType type)
        {
            JsObject ret = new JsObject(UsdCsPINVOKE.PlugPlugin_GetMetadataForType(swigCPtr, TfType.getCPtr(type)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 18
0
        public bool IsA(TfType queryType)
        {
            bool ret = UsdCsPINVOKE.TfType_IsA(swigCPtr, TfType.getCPtr(queryType));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 19
0
        public bool ApplyAPI(TfType schemaType, TfToken instanceName)
        {
            bool ret = UsdCsPINVOKE.UsdPrim_ApplyAPI__SWIG_2(swigCPtr, TfType.getCPtr(schemaType), TfToken.getCPtr(instanceName));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 20
0
        public TfType Alias(TfType arg0, string name)
        {
            TfType ret = new TfType(UsdCsPINVOKE.TfType_Alias(swigCPtr, TfType.getCPtr(arg0), name), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 21
0
        public SWIGTYPE_p_void CastFromAncestor(TfType ancestor, SWIGTYPE_p_void addr)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.TfType_CastFromAncestor__SWIG_0(swigCPtr, TfType.getCPtr(ancestor), SWIGTYPE_p_void.getCPtr(addr));
            SWIGTYPE_p_void       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public TfType GetValueType()
        {
            TfType ret = new TfType(UsdCsPINVOKE.SdfPropertySpecHandle_GetValueType(swigCPtr), true);

            return(ret);
        }
        public TfType GetValueType()
        {
            TfType ret = new TfType(UsdCsPINVOKE.SdfRelationshipSpecHandle_GetValueType(swigCPtr), true);

            return(ret);
        }
Esempio n. 24
0
        public static TfType GetUnknownType()
        {
            TfType ret = new TfType(UsdCsPINVOKE.TfType_GetUnknownType(), false);

            return(ret);
        }
Esempio n. 25
0
        public TfType GetCanonicalType()
        {
            TfType ret = new TfType(UsdCsPINVOKE.TfType_GetCanonicalType(swigCPtr), false);

            return(ret);
        }
Esempio n. 26
0
        public TfType GetTfType()
        {
            TfType ret = new TfType(UsdCsPINVOKE.VtValue_GetTfType(swigCPtr), true);

            return(ret);
        }
Esempio n. 27
0
        public TfType GetTfType()
        {
            TfType ret = new TfType(UsdCsPINVOKE.SdfValueTypeName_GetTfType(swigCPtr), false);

            return(ret);
        }
Esempio n. 28
0
        public uint GetNBaseTypes(TfType arg0, uint maxBases)
        {
            uint ret = UsdCsPINVOKE.TfType_GetNBaseTypes(swigCPtr, TfType.getCPtr(arg0), maxBases);

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