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(); } }
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(); } }
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); }
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; }
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(); }