public VehicleModeTypes(VehicleModeTypes other) : this(msclPINVOKE.new_VehicleModeTypes__SWIG_1(VehicleModeTypes.getCPtr(other)), true) { if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } }
public VehicleModeTypesEnumerator(VehicleModeTypes collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, VehicleModeTypes values) { msclPINVOKE.VehicleModeTypes_SetRange(swigCPtr, index, VehicleModeTypes.getCPtr(values)); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } }
public VehicleModeTypes supportedVehicleModeTypes() { VehicleModeTypes ret = new VehicleModeTypes(msclPINVOKE.MipNodeFeatures_supportedVehicleModeTypes(swigCPtr), true); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static VehicleModeTypes Repeat(InertialTypes.VehicleModeType value, int count) { global::System.IntPtr cPtr = msclPINVOKE.VehicleModeTypes_Repeat((int)value, count); VehicleModeTypes ret = (cPtr == global::System.IntPtr.Zero) ? null : new VehicleModeTypes(cPtr, true); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public VehicleModeTypes GetRange(int index, int count) { global::System.IntPtr cPtr = msclPINVOKE.VehicleModeTypes_GetRange(swigCPtr, index, count); VehicleModeTypes ret = (cPtr == global::System.IntPtr.Zero) ? null : new VehicleModeTypes(cPtr, true); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VehicleModeTypes obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }