getlocap.3alc - Man Page
retrieve a logical capacitor
Synopsis
#include "mlo.h" locap_list ∗getlocap(ptfig,name) lofig_list ∗ptfig ; const char ∗name ;
Parameters
- ptfig
Pointer to the figure in which the capacitor should be seeked
- name
Instance name of the capacitor
Description
getlocap looks in the list of capacitors of the logical model pointed to by ptfig for a capacitor identified by its instance name.
Return Value
getlocap returns a pointer to the given capacitor.
Errors
"∗∗∗ mbk error ∗∗∗ getlocap impossible : capacitor
name doesn't exist in figure
ptfig -> NAME"
No capacitor matches the name.
Example
#include "mlo.h" locap_list ∗exist(char ∗figname,char ∗capname) { return getlocap(getlofig(figname,'A'),capname) ; }
See Also
mbk(1), lofig(3), locap(3), addlocap(3), setlocap(3), dellocap(3).
Referenced By
locap.3alc(3), setlocap.3alc(3).
August 14, 2002 ASIM/LIP6 MBK LOGICAL FUNCTIONS