public StateObjDescVector(StateObjDescVector other) : this(SharpMochaPINVOKE.new_StateObjDescVector__SWIG_1(StateObjDescVector.getCPtr(other)), true)
 {
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public StateObjDescVectorEnumerator(StateObjDescVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, StateObjDescVector values)
 {
     SharpMochaPINVOKE.StateObjDescVector_SetRange(swigCPtr, index, StateObjDescVector.getCPtr(values));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public StateObjDescVector LoadStateInformation(string filename)
        {
            StateObjDescVector ret = new StateObjDescVector(SharpMochaPINVOKE.StateSerializer_LoadStateInformation__SWIG_2(swigCPtr, filename), true);

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public StateObjDescVector LoadStateInformation(string filename, bool remove_state, SWIGTYPE_p_p_BaseState ret_newstate)
        {
            StateObjDescVector ret = new StateObjDescVector(SharpMochaPINVOKE.StateSerializer_LoadStateInformation__SWIG_0(swigCPtr, filename, remove_state, SWIGTYPE_p_p_BaseState.getCPtr(ret_newstate)), true);

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static StateObjDescVector Repeat(StateObjDesc value, int count)
        {
            global::System.IntPtr cPtr = SharpMochaPINVOKE.StateObjDescVector_Repeat(StateObjDesc.getCPtr(value), count);
            StateObjDescVector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StateObjDescVector(cPtr, true);

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public StateObjDescVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = SharpMochaPINVOKE.StateObjDescVector_GetRange(swigCPtr, index, count);
            StateObjDescVector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StateObjDescVector(cPtr, true);

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StateObjDescVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }