getlocon3
Retrieve a logical connector
Synopsys
#include "mlo.h" locon_list ∗getlocon(ptfig, name) lofig_list ∗ptfig; char ∗name;
Parameters
ptfig
|
Pointer to the figure in which the connector should be seeked |
|---|---|
name
|
Name of the connector |
Overview
getlocon looks in the list of connectors of the logical model pointed to by ptfig for a connector identified by its name, since it should be unique at a given hierachical level.
Return value
getlocon returns a pointer to the given connector.
Errors
"∗∗∗ mbk error ∗∗∗ getlocon impossible : connector name doesn't exist in figure ptfig->NAME"
No connector matches the name.
Examples
#include "mlo.h"
locon_list ∗exist(figname, conname)
char ∗figname, ∗conname;
{
return getlocon(getlofig(figname), conname);
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.