1SoTypeList(3IV)()                                            SoTypeList(3IV)()
2
3
4

NAME

6       SoTypeList — maintains a list of SoTypes
7

INHERITS FROM

9       SbPList > SoTypeList
10

SYNOPSIS

12       #include <Inventor/SoLists.h>
13
14          Methods from class SoTypeList:
15
16                         SoTypeList()
17                         SoTypeList(int size)
18                         SoTypeList(const SoTypeList &l)
19                         ~SoTypeList()
20     void                append(SoType type)
21     void                insert(SoType *type, int addBefore)
22     void                set(int i, SoType *type)
23     int                 find(SoType typeId) const
24     SoType              operator [](int i) const
25
26          Methods from class SbPList:
27
28     void                remove(int which)
29     int                 getLength() const
30     void                truncate(int start)
31     void                copy(const SbPList &pl)
32     SbPList &           operator =(const SbPList &pl)
33     int                 operator ==(const SbPList &pl) const
34     int                 operator !=(const SbPList &pl) const
35
36

DESCRIPTION

38       This subclass of SbPList holds lists of SoType type identifiers.
39

METHODS

41                         SoTypeList()
42          Constructor.
43
44                         SoTypeList(int size)
45          Constructor that pre-allocates storage for size types.
46
47                         SoTypeList(const SoTypeList &l)
48          Constructor that copies the contents of another list.
49
50                         ~SoTypeList()
51          Destructor.
52
53     void                append(SoType type)
54          Adds a type to the end of the list.
55
56     void                insert(SoType *type, int addBefore)
57          Inserts given type in list before type with given index.
58
59     void                set(int i, SoType *type)
60          Sets an element of a list.
61
62     int                 find(SoType typeId) const
63          Returns index of given type in list, or -1 if not found.
64
65     SoType              operator [](int i) const
66          Accesses an element of a list.
67
68

SEE ALSO

70       SoType
71
72
73
74
75                                                             SoTypeList(3IV)()
Impressum