예제 #1
0
    public bool load_serializable(SWIGTYPE_p_CSerializableFile file)
    {
        bool ret = modshogunPINVOKE.SGIO_load_serializable__SWIG_1(swigCPtr, SWIGTYPE_p_CSerializableFile.getCPtr(file));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #2
0
    public bool save_serializable(SWIGTYPE_p_CSerializableFile file, string prefix)
    {
        bool ret = modshogunPINVOKE.SGIO_save_serializable__SWIG_0(swigCPtr, SWIGTYPE_p_CSerializableFile.getCPtr(file), prefix);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static HandleRef getCPtr(SWIGTYPE_p_CSerializableFile obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #4
0
파일: SGIO.cs 프로젝트: Anshul-Bansal/gsoc
 public bool load_serializable(SWIGTYPE_p_CSerializableFile file) {
   bool ret = modshogunPINVOKE.SGIO_load_serializable__SWIG_1(swigCPtr, SWIGTYPE_p_CSerializableFile.getCPtr(file));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
예제 #5
0
파일: SGIO.cs 프로젝트: Anshul-Bansal/gsoc
 public bool save_serializable(SWIGTYPE_p_CSerializableFile file, string prefix) {
   bool ret = modshogunPINVOKE.SGIO_save_serializable__SWIG_0(swigCPtr, SWIGTYPE_p_CSerializableFile.getCPtr(file), prefix);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_CSerializableFile obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }