Esempio n. 1
0
 public ShortRealStringList(SWIGTYPE_p_shogun__SGStringT_float_t s, int num_s, int max_length) : this(modshogunPINVOKE.new_ShortRealStringList__SWIG_2(SWIGTYPE_p_shogun__SGStringT_float_t.getCPtr(s), num_s, max_length), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public virtual void set_string_list(SWIGTYPE_p_shogun__SGStringT_float_t strings, int num_str)
 {
     modshogunPINVOKE.File_set_string_list__SWIG_6(swigCPtr, SWIGTYPE_p_shogun__SGStringT_float_t.getCPtr(strings), num_str);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public override void get_string_list(SWIGTYPE_p_shogun__SGStringT_float_t strings, SWIGTYPE_p_int num_str, SWIGTYPE_p_int max_string_len)
 {
     modshogunPINVOKE.BinaryFile_get_string_list__SWIG_5(swigCPtr, SWIGTYPE_p_shogun__SGStringT_float_t.getCPtr(strings), SWIGTYPE_p_int.getCPtr(num_str), SWIGTYPE_p_int.getCPtr(max_string_len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
    public SWIGTYPE_p_shogun__SGStringT_float_t get_vector()
    {
        SWIGTYPE_p_shogun__SGStringT_float_t ret = new SWIGTYPE_p_shogun__SGStringT_float_t(modshogunPINVOKE.StreamingStringShortRealFeatures_get_vector(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public SWIGTYPE_p_shogun__SGStringT_float_t get_vector() {
   SWIGTYPE_p_shogun__SGStringT_float_t ret = new SWIGTYPE_p_shogun__SGStringT_float_t(modshogunPINVOKE.StreamingStringShortRealFeatures_get_vector(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 6
0
 public override void set_string_list(SWIGTYPE_p_shogun__SGStringT_float_t strings, int num_str) {
   modshogunPINVOKE.BinaryFile_set_string_list__SWIG_5(swigCPtr, SWIGTYPE_p_shogun__SGStringT_float_t.getCPtr(strings), num_str);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGStringT_float_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 8
0
 public virtual void get_string_list(SWIGTYPE_p_shogun__SGStringT_float_t strings, SWIGTYPE_p_int num_str, SWIGTYPE_p_int max_string_len) {
   modshogunPINVOKE.File_get_string_list__SWIG_6(swigCPtr, SWIGTYPE_p_shogun__SGStringT_float_t.getCPtr(strings), SWIGTYPE_p_int.getCPtr(num_str), SWIGTYPE_p_int.getCPtr(max_string_len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGStringT_float_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }