예제 #1
0
파일: List.cs 프로젝트: Anshul-Bansal/gsoc
    public SGObject get_previous_element(ListElement p_current)
    {
        IntPtr   cPtr = modshogunPINVOKE.List_get_previous_element__SWIG_1(swigCPtr, ListElement.getCPtr(p_current));
        SGObject ret  = (cPtr == IntPtr.Zero) ? null : new SGObject(cPtr, false);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #2
0
    public Kernel get_first_kernel(ListElement current)
    {
        IntPtr cPtr = modshogunPINVOKE.CombinedKernel_get_first_kernel__SWIG_1(swigCPtr, ListElement.getCPtr(current));
        Kernel ret  = (cPtr == IntPtr.Zero) ? null : new Kernel(cPtr, false);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #3
0
 public ListElement(SGObject p_data, ListElement p_prev) : this(modshogunPINVOKE.new_ListElement__SWIG_2(SGObject.getCPtr(p_data), ListElement.getCPtr(p_prev)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
    public DotFeatures get_first_feature_obj(ListElement current)
    {
        IntPtr      cPtr = modshogunPINVOKE.CombinedDotFeatures_get_first_feature_obj__SWIG_1(swigCPtr, ListElement.getCPtr(current));
        DotFeatures ret  = (cPtr == IntPtr.Zero) ? null : new DotFeatures(cPtr, false);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }