getCPtr() static private méthode

static private getCPtr ( Connection obj ) : global::System.Runtime.InteropServices.HandleRef
obj Connection
Résultat global::System.Runtime.InteropServices.HandleRef
 public void setitem(int index, Connection value)
 {
     fannfixedPINVOKE.ConnectionArray_setitem(swigCPtr, index, Connection.getCPtr(value));
     if (fannfixedPINVOKE.SWIGPendingException.Pending)
     {
         throw fannfixedPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public void set_weight_array(Connection connections, uint num_connections)
 {
     fannfixedPINVOKE.neural_net_set_weight_array(swigCPtr, Connection.getCPtr(connections), num_connections);
 }
Exemple #3
0
 public void get_connection_array(Connection connections)
 {
     fannfixedPINVOKE.neural_net_get_connection_array(swigCPtr, Connection.getCPtr(connections));
 }
        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);
        }