コード例 #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);
    }
コード例 #3
0
 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;
 }
コード例 #6
0
 internal static HandleRef getCPtr(SWIGTYPE_p_CSerializableFile obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }