Example #1
0
 public StringShortRealFeatures(StringShortRealFeatures orig) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_5(StringShortRealFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
    public bool append_features(StringShortRealFeatures sf)
    {
        bool ret = modshogunPINVOKE.StringShortRealFeatures_append_features(swigCPtr, StringShortRealFeatures.getCPtr(sf));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #3
0
    public StringShortRealFeatures get_transposed()
    {
        IntPtr cPtr = modshogunPINVOKE.StringShortRealFeatures_get_transposed(swigCPtr);
        StringShortRealFeatures ret = (cPtr == IntPtr.Zero) ? null : new StringShortRealFeatures(cPtr, true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #4
0
 internal static HandleRef getCPtr(StringShortRealFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public StringShortRealFeatures(StringShortRealFeatures orig) : this(modshogunPINVOKE.new_StringShortRealFeatures__SWIG_5(StringShortRealFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public bool append_features(StringShortRealFeatures sf) {
   bool ret = modshogunPINVOKE.StringShortRealFeatures_append_features(swigCPtr, StringShortRealFeatures.getCPtr(sf));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(StringShortRealFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }