예제 #1
0
 public StringLongFeatures(StringLongFeatures orig) : this(modshogunPINVOKE.new_StringLongFeatures__SWIG_5(StringLongFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
    public bool append_features(StringLongFeatures sf)
    {
        bool ret = modshogunPINVOKE.StringLongFeatures_append_features(swigCPtr, StringLongFeatures.getCPtr(sf));

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

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #4
0
 internal static HandleRef getCPtr(StringLongFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }