public StringLongFeatures(StringLongFeatures orig) : this(modshogunPINVOKE.new_StringLongFeatures__SWIG_5(StringLongFeatures.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
internal static HandleRef getCPtr(StringLongFeatures obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }