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