Beispiel #1
0
 public StrTableCollection(StrTableCollection other) : this(TreeizeRelDPINVOKE.new_StrTableCollection__SWIG_1(StrTableCollection.getCPtr(other)), true)
 {
     if (TreeizeRelDPINVOKE.SWIGPendingException.Pending)
     {
         throw TreeizeRelDPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public StrTableCollectionEnumerator(StrTableCollection collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
 public void SetRange(int index, StrTableCollection values)
 {
     TreeizeRelDPINVOKE.StrTableCollection_SetRange(swigCPtr, index, StrTableCollection.getCPtr(values));
     if (TreeizeRelDPINVOKE.SWIGPendingException.Pending)
     {
         throw TreeizeRelDPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
    public static string writeTreeAndCreateJSON(StrTable control, StrTableCollection data, ref int result)
    {
        string ret = TreeizeRelDPINVOKE.writeTreeAndCreateJSON(StrTable.getCPtr(control), StrTableCollection.getCPtr(data), ref result);

        if (TreeizeRelDPINVOKE.SWIGPendingException.Pending)
        {
            throw TreeizeRelDPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #5
0
    public static StrTableCollection Repeat(StrTable value, int count)
    {
        global::System.IntPtr cPtr = TreeizeRelDPINVOKE.StrTableCollection_Repeat(StrTable.getCPtr(value), count);
        StrTableCollection    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StrTableCollection(cPtr, true);

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

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