Example #1
0
 public StringRealFeatures(StringRealFeatures orig) : this(modshogunPINVOKE.new_StringRealFeatures__SWIG_5(StringRealFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #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);
    }
Example #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);
    }
Example #4
0
 internal static HandleRef getCPtr(StringRealFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #5
0
 public StringRealFeatures(StringRealFeatures orig) : this(modshogunPINVOKE.new_StringRealFeatures__SWIG_5(StringRealFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #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;
 }
Example #7
0
 internal static HandleRef getCPtr(StringRealFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }