public static BoolVector Repeat(bool value, int count) { global::System.IntPtr cPtr = SharpMochaPINVOKE.BoolVector_Repeat(value, count); BoolVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new BoolVector(cPtr, true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public BoolVector GetRange(int index, int count) { global::System.IntPtr cPtr = SharpMochaPINVOKE.BoolVector_GetRange(swigCPtr, index, count); BoolVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new BoolVector(cPtr, true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void MergeStates(BaseState src, BaseState dest, BoolVector whichObjsToMerge) { SharpMochaPINVOKE.StateSerializer_MergeStates__SWIG_0(swigCPtr, BaseState.getCPtr(src), BaseState.getCPtr(dest), BoolVector.getCPtr(whichObjsToMerge)); }
public BoolVector(BoolVector other) : this(SharpMochaPINVOKE.new_BoolVector__SWIG_1(BoolVector.getCPtr(other)), true) { if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BoolVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }