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

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

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #4
0
 public StringBoolFeatures(StringBoolFeatures orig) : this(modshogunPINVOKE.new_StringBoolFeatures__SWIG_5(StringBoolFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #5
0
 public bool append_features(StringBoolFeatures sf) {
   bool ret = modshogunPINVOKE.StringBoolFeatures_append_features(swigCPtr, StringBoolFeatures.getCPtr(sf));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
예제 #6
0
 internal static HandleRef getCPtr(StringBoolFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #7
0
 internal static HandleRef getCPtr(StringBoolFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }