1SoNodeList(3IV)() SoNodeList(3IV)()
2
3
4
6 SoNodeList — maintains a list of pointers to nodes
7
9 SbPList > SoBaseList > SoNodeList
10
12 #include <Inventor/SoLists.h>
13
14 Methods from class SoNodeList:
15
16 SoNodeList()
17 SoNodeList(int size)
18 SoNodeList(const SoNodeList &l)
19 ~SoNodeList()
20 void append(SoNode *node)
21 SoNode * operator [](int i) const
22 SoNodeList & operator =(const SoNodeList &l)
23
24 Methods from class SoBaseList:
25
26 void insert(SoBase *ptr, int addBefore)
27 void remove(int which)
28 void truncate(int start)
29 void copy(const SoBaseList &l)
30 void set(int i, SoBase *ptr)
31 void addReferences(SbBool flag)
32
33 Methods from class SbPList:
34
35 int find(const void *ptr) const
36 int getLength() const
37 int operator ==(const SbPList &pl) const
38 int operator !=(const SbPList &pl) const
39
40
42 This subclass of SoBaseList holds lists of pointers to SoNodes. It
43 updates reference counts to nodes in the list whenever adding or remov‐
44 ing pointers.
45
47 SoNodeList()
48 Constructor.
49
50 SoNodeList(int size)
51 Constructor that pre-allocates storage for size pointers.
52
53 SoNodeList(const SoNodeList &l)
54 Constructor that copies the contents of another list.
55
56 ~SoNodeList()
57 Destructor.
58
59 void append(SoNode *node)
60 Adds a pointer to the end of the list.
61
62 SoNode * operator [](int i) const
63 Accesses an element of a list.
64
65 SoNodeList & operator =(const SoNodeList &l)
66 Copies a list, keeping all reference counts correct.
67
68
70 SoNode
71
72
73
74
75 SoNodeList(3IV)()