Beispiel #1
0
 public StringIntFeatures(StringIntFeatures orig) : this(modshogunPINVOKE.new_StringIntFeatures__SWIG_5(StringIntFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
    public bool append_features(StringIntFeatures sf)
    {
        bool ret = modshogunPINVOKE.StringIntFeatures_append_features(swigCPtr, StringIntFeatures.getCPtr(sf));

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

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public StringIntFeatures(StringIntFeatures orig) : this(modshogunPINVOKE.new_StringIntFeatures__SWIG_5(StringIntFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public bool append_features(StringIntFeatures sf) {
   bool ret = modshogunPINVOKE.StringIntFeatures_append_features(swigCPtr, StringIntFeatures.getCPtr(sf));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(StringIntFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #7
0
 internal static HandleRef getCPtr(StringIntFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }