示例#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
 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
 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();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_CVwEnvironment obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 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();
 }