Exemplo n.º 1
0
 public void assign(uint n, bar_point val)
 {
     c_csharp_plotPINVOKE.bar_collection_assign(swigCPtr, n, bar_point.getCPtr(val));
     if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public void push_back(bar_point point)
 {
     c_csharp_plotPINVOKE.bar_collection_push_back(swigCPtr, bar_point.getCPtr(point));
     if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
        public bar_point at(uint index)
        {
            bar_point ret = new bar_point(c_csharp_plotPINVOKE.bar_collection_at(swigCPtr, index), false);

            if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(bar_point obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }