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

NAME

6       getloself - retrieve a logical inductor
7

SYNOPSIS

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

PARAMETERS

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

DESCRIPTION

22       getloself looks in the list of inductors of the logical  model  pointed
23       to by ptfig for a inductor identified by its instance name.
24

RETURN VALUE

26       getloself returns a pointer to the given inductor.
27

ERRORS

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

EXAMPLE

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

SEE ALSO

42       mbk(1), lofig(3), loself(3), addloself(3), delloself(3).
43
44
45
46
47
48
49ASIM/LIP6                       August 14, 2002                   GETLOSELF(3)
Impressum