public PcpPropertyIndex(PcpPropertyIndex rhs) : this(UsdCsPINVOKE.new_PcpPropertyIndex__SWIG_1(PcpPropertyIndex.getCPtr(rhs)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void Swap(PcpPropertyIndex index)
 {
     UsdCsPINVOKE.PcpPropertyIndex_Swap(swigCPtr, PcpPropertyIndex.getCPtr(index));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
        public PcpPropertyIndex ComputePropertyIndex(SdfPath propPath, SWIGTYPE_p_PcpErrorVector allErrors)
        {
            PcpPropertyIndex ret = new PcpPropertyIndex(UsdCsPINVOKE.PcpCache_ComputePropertyIndex(swigCPtr, SdfPath.getCPtr(propPath), SWIGTYPE_p_PcpErrorVector.getCPtr(allErrors)), false);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #4
0
        public PcpPropertyIndex FindPropertyIndex(SdfPath propPath)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.PcpCache_FindPropertyIndex(swigCPtr, SdfPath.getCPtr(propPath));
            PcpPropertyIndex      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PcpPropertyIndex(cPtr, false);

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