Esempio n. 1
0
 public StringRealFeatures(StringRealFeatures orig) : this(modshogunPINVOKE.new_StringRealFeatures__SWIG_5(StringRealFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
    public bool append_features(StringRealFeatures sf)
    {
        bool ret = modshogunPINVOKE.StringRealFeatures_append_features(swigCPtr, StringRealFeatures.getCPtr(sf));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 3
0
    public StringRealFeatures get_transposed()
    {
        IntPtr             cPtr = modshogunPINVOKE.StringRealFeatures_get_transposed(swigCPtr);
        StringRealFeatures ret  = (cPtr == IntPtr.Zero) ? null : new StringRealFeatures(cPtr, true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 4
0
 internal static HandleRef getCPtr(StringRealFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 5
0
 public StringRealFeatures(StringRealFeatures orig) : this(modshogunPINVOKE.new_StringRealFeatures__SWIG_5(StringRealFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 6
0
 public bool append_features(StringRealFeatures sf) {
   bool ret = modshogunPINVOKE.StringRealFeatures_append_features(swigCPtr, StringRealFeatures.getCPtr(sf));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 7
0
 internal static HandleRef getCPtr(StringRealFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }