public StreamingVwCacheFile(string fname, char rw, SWIGTYPE_p_EVwCacheType cache_type) : this(modshogunPINVOKE.new_StreamingVwCacheFile__SWIG_2(fname, rw, SWIGTYPE_p_EVwCacheType.getCPtr(cache_type)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public void set_cache_parameters(string fname, SWIGTYPE_p_EVwCacheType type)
 {
     modshogunPINVOKE.VwParser_set_cache_parameters__SWIG_0(swigCPtr, fname, SWIGTYPE_p_EVwCacheType.getCPtr(type));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
    public SWIGTYPE_p_EVwCacheType get_cache_type()
    {
        SWIGTYPE_p_EVwCacheType ret = new SWIGTYPE_p_EVwCacheType(modshogunPINVOKE.VwParser_get_cache_type(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#4
0
 public SWIGTYPE_p_EVwCacheType get_cache_type() {
   SWIGTYPE_p_EVwCacheType ret = new SWIGTYPE_p_EVwCacheType(modshogunPINVOKE.VwParser_get_cache_type(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
示例#5
0
 public void set_cache_parameters(string fname, SWIGTYPE_p_EVwCacheType type) {
   modshogunPINVOKE.VwParser_set_cache_parameters__SWIG_0(swigCPtr, fname, SWIGTYPE_p_EVwCacheType.getCPtr(type));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_EVwCacheType obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public StreamingVwCacheFile(string fname, char rw, SWIGTYPE_p_EVwCacheType cache_type) : this(modshogunPINVOKE.new_StreamingVwCacheFile__SWIG_2(fname, rw, SWIGTYPE_p_EVwCacheType.getCPtr(cache_type)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }