getCPtr() static private method

static private getCPtr ( Connection obj ) : global::System.Runtime.InteropServices.HandleRef
obj Connection
return global::System.Runtime.InteropServices.HandleRef
Exemplo n.º 1
0
 public void setitem(int index, Connection value)
 {
     fannfixedPINVOKE.ConnectionArray_setitem(swigCPtr, index, Connection.getCPtr(value));
     if (fannfixedPINVOKE.SWIGPendingException.Pending)
     {
         throw fannfixedPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public void set_weight_array(Connection connections, uint num_connections)
 {
     fannfixedPINVOKE.neural_net_set_weight_array(swigCPtr, Connection.getCPtr(connections), num_connections);
 }
Exemplo n.º 3
0
 public void get_connection_array(Connection connections)
 {
     fannfixedPINVOKE.neural_net_get_connection_array(swigCPtr, Connection.getCPtr(connections));
 }
Exemplo n.º 4
0
        public static ConnectionArray frompointer(Connection t)
        {
            global::System.IntPtr cPtr = fannfixedPINVOKE.ConnectionArray_frompointer(Connection.getCPtr(t));
            ConnectionArray       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ConnectionArray(cPtr, false);

            return(ret);
        }