1GETLOCAP(3)                  MBK LOGICAL FUNCTIONS                 GETLOCAP(3)
2
3
4

NAME

6       getlocap - retrieve a logical capacitor
7

SYNOPSIS

9       #include "mlo.h"
10
11       locap_list ∗getlocap(ptfig,name)
12       lofig_list ∗ptfig ;
13       const char ∗name ;
14

PARAMETERS

16       ptfig               Pointer to the figure in which the capacitor should
17                           be seeked
18
19       name                Instance name of the capacitor
20

DESCRIPTION

22       getlocap looks in the list of capacitors of the logical  model  pointed
23       to by ptfig for a capacitor identified by its instance name.
24

RETURN VALUE

26       getlocap returns a pointer to the given capacitor.
27

ERRORS

29       "∗∗∗  mbk  error ∗∗∗ getlocap impossible : capacitor name doesn't exist
30       in figure ptfig -> NAME"
31              No capacitor matches the name.
32

EXAMPLE

34       #include "mlo.h"
35
36       locap_list ∗exist(char ∗figname,char ∗capname)
37       {
38         return getlocap(getlofig(figname,'A'),capname) ;
39       }
40

SEE ALSO

42       mbk(1), lofig(3), locap(3), addlocap(3), setlocap(3), dellocap(3).
43
44
45
46
47
48
49ASIM/LIP6                       August 14, 2002                    GETLOCAP(3)
Impressum