Beispiel #1
0
 public VectorGuid(VectorGuid other) : this(PapillonPINVOKE.new_VectorGuid__SWIG_1(VectorGuid.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public VectorGuidEnumerator(VectorGuid collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
 public void SetRange(int index, VectorGuid values)
 {
     PapillonPINVOKE.VectorGuid_SetRange(swigCPtr, index, VectorGuid.getCPtr(values));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
    public static VectorGuid Repeat(PGuid value, int count)
    {
        global::System.IntPtr cPtr = PapillonPINVOKE.VectorGuid_Repeat(PGuid.getCPtr(value), count);
        VectorGuid            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VectorGuid(cPtr, true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #5
0
    public VectorGuid GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = PapillonPINVOKE.VectorGuid_GetRange(swigCPtr, index, count);
        VectorGuid            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VectorGuid(cPtr, true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VectorGuid obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }