Example #1
0
 public RealStringList(SWIGTYPE_p_shogun__SGStringT_double_t s, int num_s, int max_length) : this(modshogunPINVOKE.new_RealStringList__SWIG_2(SWIGTYPE_p_shogun__SGStringT_double_t.getCPtr(s), num_s, max_length), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public SWIGTYPE_p_shogun__SGStringT_double_t get_vector() {
   SWIGTYPE_p_shogun__SGStringT_double_t ret = new SWIGTYPE_p_shogun__SGStringT_double_t(modshogunPINVOKE.StreamingStringRealFeatures_get_vector(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGStringT_double_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #4
0
 public override void set_string_list(SWIGTYPE_p_shogun__SGStringT_double_t strings, int num_str) {
   modshogunPINVOKE.BinaryFile_set_string_list__SWIG_6(swigCPtr, SWIGTYPE_p_shogun__SGStringT_double_t.getCPtr(strings), num_str);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #5
0
 public virtual void get_string_list(SWIGTYPE_p_shogun__SGStringT_double_t strings, SWIGTYPE_p_int num_str, SWIGTYPE_p_int max_string_len) {
   modshogunPINVOKE.File_get_string_list__SWIG_7(swigCPtr, SWIGTYPE_p_shogun__SGStringT_double_t.getCPtr(strings), SWIGTYPE_p_int.getCPtr(num_str), SWIGTYPE_p_int.getCPtr(max_string_len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }