const char* GetNetTitle_bn ( const net_bn*  net )

Returns a C character string which is the title of net, or the empty string (rather than NULL) if net does not have a title.

This may be different from net's "name", and from the file name used to save net.

There is no restriction on the length of the title, or on what characters it might contain.

If you need the string to persist, make a copy of the string returned, since its contents may become invalid after further calls to Netica API. Do not try to directly modify or free the string returned.

Version:

This function is available in all versions.

See also:

SetNetTitle_bn    Sets it
GetNetName_bn    Gets the net's name (limited chars and length, always exists)
GetNetFileName_bn    Gets the name of file the net has last been read from or saved to
GetNodeTitle_bn    Same, but for nodes