Example #1
0
 public virtual void get_string_list(SWIGTYPE_p_shogun__SGStringT_bool_t strings, SWIGTYPE_p_int num_str, SWIGTYPE_p_int max_string_len)
 {
     modshogunPINVOKE.File_get_string_list__SWIG_0(swigCPtr, SWIGTYPE_p_shogun__SGStringT_bool_t.getCPtr(strings), SWIGTYPE_p_int.getCPtr(num_str), SWIGTYPE_p_int.getCPtr(max_string_len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
    public SWIGTYPE_p_shogun__SGStringT_bool_t get_vector()
    {
        SWIGTYPE_p_shogun__SGStringT_bool_t ret = new SWIGTYPE_p_shogun__SGStringT_bool_t(modshogunPINVOKE.StreamingStringBoolFeatures_get_vector(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public SWIGTYPE_p_shogun__SGStringT_bool_t get_vector() {
   SWIGTYPE_p_shogun__SGStringT_bool_t ret = new SWIGTYPE_p_shogun__SGStringT_bool_t(modshogunPINVOKE.StreamingStringBoolFeatures_get_vector(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #4
0
 public BoolStringList(SWIGTYPE_p_shogun__SGStringT_bool_t s, int num_s, int max_length) : this(modshogunPINVOKE.new_BoolStringList__SWIG_2(SWIGTYPE_p_shogun__SGStringT_bool_t.getCPtr(s), num_s, max_length), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGStringT_bool_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #6
0
 public BoolStringList(SWIGTYPE_p_shogun__SGStringT_bool_t s, int num_s, int max_length) : this(modshogunPINVOKE.new_BoolStringList__SWIG_2(SWIGTYPE_p_shogun__SGStringT_bool_t.getCPtr(s), num_s, max_length), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #7
0
 public virtual void set_string_list(SWIGTYPE_p_shogun__SGStringT_bool_t strings, int num_str) {
   modshogunPINVOKE.File_set_string_list__SWIG_0(swigCPtr, SWIGTYPE_p_shogun__SGStringT_bool_t.getCPtr(strings), num_str);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGStringT_bool_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }