Debian Codegraph @

doc/man/man3/ivm/engines/SoEngineList.ivm

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