コード例 #1
0
 public VwParser(SWIGTYPE_p_CVwEnvironment env_to_use) : this(modshogunPINVOKE.new_VwParser__SWIG_1(SWIGTYPE_p_CVwEnvironment.getCPtr(env_to_use)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public void set_env(SWIGTYPE_p_CVwEnvironment env_to_use)
 {
     modshogunPINVOKE.StreamingVwFile_set_env(swigCPtr, SWIGTYPE_p_CVwEnvironment.getCPtr(env_to_use));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
 public virtual void set_env(SWIGTYPE_p_CVwEnvironment vw_env)
 {
     modshogunPINVOKE.StreamingVwFeatures_set_env(swigCPtr, SWIGTYPE_p_CVwEnvironment.getCPtr(vw_env));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
    public SWIGTYPE_p_CVwEnvironment get_env()
    {
        IntPtr cPtr = modshogunPINVOKE.StreamingVwFile_get_env(swigCPtr);
        SWIGTYPE_p_CVwEnvironment ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_CVwEnvironment(cPtr, false);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #5
0
ファイル: VwParser.cs プロジェクト: Anshul-Bansal/gsoc
 public void set_env(SWIGTYPE_p_CVwEnvironment env_to_use) {
   modshogunPINVOKE.VwParser_set_env(swigCPtr, SWIGTYPE_p_CVwEnvironment.getCPtr(env_to_use));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #6
0
ファイル: VwParser.cs プロジェクト: Anshul-Bansal/gsoc
 public VwParser(SWIGTYPE_p_CVwEnvironment env_to_use) : this(modshogunPINVOKE.new_VwParser__SWIG_1(SWIGTYPE_p_CVwEnvironment.getCPtr(env_to_use)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #7
0
 internal static HandleRef getCPtr(SWIGTYPE_p_CVwEnvironment obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #8
0
 internal static HandleRef getCPtr(SWIGTYPE_p_CVwEnvironment obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #9
0
 public virtual void set_env(SWIGTYPE_p_CVwEnvironment vw_env) {
   modshogunPINVOKE.StreamingVwFeatures_set_env(swigCPtr, SWIGTYPE_p_CVwEnvironment.getCPtr(vw_env));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }