Пример #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);
 }