예제 #1
0
 public VehicleModeTypes(VehicleModeTypes other) : this(msclPINVOKE.new_VehicleModeTypes__SWIG_1(VehicleModeTypes.getCPtr(other)), true)
 {
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public VehicleModeTypesEnumerator(VehicleModeTypes collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, VehicleModeTypes values)
 {
     msclPINVOKE.VehicleModeTypes_SetRange(swigCPtr, index, VehicleModeTypes.getCPtr(values));
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
        public VehicleModeTypes supportedVehicleModeTypes()
        {
            VehicleModeTypes ret = new VehicleModeTypes(msclPINVOKE.MipNodeFeatures_supportedVehicleModeTypes(swigCPtr), true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        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);
        }
예제 #6
0
        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);
        }
예제 #7
0
 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);
 }