Ejemplo n.º 1
0
 public VectorGuid(VectorGuid other) : this(PapillonPINVOKE.new_VectorGuid__SWIG_1(VectorGuid.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public VectorGuidEnumerator(VectorGuid collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 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();
     }
 }
Ejemplo n.º 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);
    }
Ejemplo n.º 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);
    }
Ejemplo n.º 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);
 }