|NORSYS SOFTWARE © 2012||NETICA API||C   VERSION   5.04 |
|void SetNodeUserData_bn (||node_bn* node, int kind, void* data )|
Attaches to node the data pointed to by data. Only your program needs to be able to understand this data. It may point to whatever is desired, possibly a large structure with many fields. This information may later be recovered using GetNodeUserData_bn.
Pass 0 for kind. It is only for future expansion.
Only one user pointer may be attached to node at a time. When the net is written to file, the user pointer data is not included. For user-defined field-by-field data that gets saved to file, see SetNodeUserField_bn.
Netica will not modify, free or duplicate the data, even if the node is freed or duplicated (although the duplicated node will contain the same pointer).
|SetNodeUserField_bn||Attach information field-by-field, and have it saved to file|
|SetNetUserData_bn||Attach a user pointer to the whole net|