Example #1
0
        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);
        }
Example #2
0
        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));
 }
Example #4
0
 public BoolVector(BoolVector other) : this(SharpMochaPINVOKE.new_BoolVector__SWIG_1(BoolVector.getCPtr(other)), true)
 {
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 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);
 }