Beispiel #1
0
 public ByteStringList(SWIGTYPE_p_shogun__SGStringT_unsigned_char_t s, int num_s, int max_length) : this(modshogunPINVOKE.new_ByteStringList__SWIG_2(SWIGTYPE_p_shogun__SGStringT_unsigned_char_t.getCPtr(s), num_s, max_length), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public virtual void set_string_list(SWIGTYPE_p_shogun__SGStringT_unsigned_char_t strings, int num_str)
 {
     modshogunPINVOKE.File_set_string_list__SWIG_1(swigCPtr, SWIGTYPE_p_shogun__SGStringT_unsigned_char_t.getCPtr(strings), num_str);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #3
0
 public override void get_string_list(SWIGTYPE_p_shogun__SGStringT_unsigned_char_t strings, SWIGTYPE_p_int num_str, SWIGTYPE_p_int max_string_len)
 {
     modshogunPINVOKE.BinaryFile_get_string_list__SWIG_0(swigCPtr, SWIGTYPE_p_shogun__SGStringT_unsigned_char_t.getCPtr(strings), SWIGTYPE_p_int.getCPtr(num_str), SWIGTYPE_p_int.getCPtr(max_string_len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public SWIGTYPE_p_shogun__SGStringT_unsigned_char_t get_vector()
    {
        SWIGTYPE_p_shogun__SGStringT_unsigned_char_t ret = new SWIGTYPE_p_shogun__SGStringT_unsigned_char_t(modshogunPINVOKE.StreamingStringByteFeatures_get_vector(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public SWIGTYPE_p_shogun__SGStringT_unsigned_char_t get_vector() {
   SWIGTYPE_p_shogun__SGStringT_unsigned_char_t ret = new SWIGTYPE_p_shogun__SGStringT_unsigned_char_t(modshogunPINVOKE.StreamingStringByteFeatures_get_vector(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Beispiel #6
0
 public override void set_string_list(SWIGTYPE_p_shogun__SGStringT_unsigned_char_t strings, int num_str) {
   modshogunPINVOKE.BinaryFile_set_string_list__SWIG_0(swigCPtr, SWIGTYPE_p_shogun__SGStringT_unsigned_char_t.getCPtr(strings), num_str);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #7
0
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGStringT_unsigned_char_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #8
0
 public ByteStringList(SWIGTYPE_p_shogun__SGStringT_unsigned_char_t s, int num_s, int max_length) : this(modshogunPINVOKE.new_ByteStringList__SWIG_2(SWIGTYPE_p_shogun__SGStringT_unsigned_char_t.getCPtr(s), num_s, max_length), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #9
0
 public virtual void get_string_list(SWIGTYPE_p_shogun__SGStringT_unsigned_char_t strings, SWIGTYPE_p_int num_str, SWIGTYPE_p_int max_string_len) {
   modshogunPINVOKE.File_get_string_list__SWIG_1(swigCPtr, SWIGTYPE_p_shogun__SGStringT_unsigned_char_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_unsigned_char_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }