public StatusSelectors(StatusSelectors other) : this(msclPINVOKE.new_StatusSelectors__SWIG_1(StatusSelectors.getCPtr(other)), true)
 {
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public StatusSelectorsEnumerator(StatusSelectors collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, StatusSelectors values)
 {
     msclPINVOKE.StatusSelectors_SetRange(swigCPtr, index, StatusSelectors.getCPtr(values));
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
        public StatusSelectors supportedStatusSelectors()
        {
            StatusSelectors ret = new StatusSelectors(msclPINVOKE.MipNodeFeatures_supportedStatusSelectors(swigCPtr), true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static StatusSelectors Repeat(DeviceStatusData.StatusSelector value, int count)
        {
            global::System.IntPtr cPtr = msclPINVOKE.StatusSelectors_Repeat((int)value, count);
            StatusSelectors       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StatusSelectors(cPtr, true);

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

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