Debian Codegraph @

doc/man/man3/ivm/general/SoNodeList.ivm

raw
1 NAME SoNodeList "" "" { maintains a list of pointers to nodes }
2
3 INCLUDE SoLists.h
4
5 DESC {
6 This subclass of \cSoBaseList\. holds lists of pointers to
7 \cSoNode\.s. It updates reference counts to nodes in the list
8 whenever adding or removing pointers.
9 }
10
11 METHOD "" SoNodeList() { Constructor. }
12
13 METHOD createSize SoNodeList(int size) {
14 Constructor that pre-allocates storage for \asize\. pointers.
15 }
16
17 METHOD " " SoNodeList(const SoNodeList &l) {
18 Constructor that copies the contents of another list.
19 }
20
21 METHOD "" ~SoNodeList() { Destructor. }
22
23 METHOD "" void append(SoNode *node) { Adds a pointer to the end of the list. }
24
25 METHOD "" SoNode * operator [\|](int i) const { Accesses an element of a list. }
26
27 METHOD "" SoNodeList & operator =(const SoNodeList &l) {
28 Copies a list, keeping all reference counts correct.
29 }
30
31 ALSO { SoNode }
32