| 1 |
NAME SoEngineOutputList "" "" { maintains a list of pointers to engine outputs } |
| 2 |
|
| 3 |
INCLUDE SoLists.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
This subclass of \cSbPlist\. holds lists of pointers to |
| 7 |
\cSoEngineOutput\.s. It updates reference counts to engine outputs in the list |
| 8 |
whenever adding or removing pointers. |
| 9 |
} |
| 10 |
|
| 11 |
METHOD "" SoEngineOutputList() { Constructor. } |
| 12 |
|
| 13 |
METHOD createSize SoEngineOutputList(int size) { |
| 14 |
Constructor that pre-allocates storage for \asize\. pointers. |
| 15 |
} |
| 16 |
|
| 17 |
METHOD " " SoEngineOutputList(const SoEngineOutputList &l) { |
| 18 |
Constructor that copies the contents of another list. |
| 19 |
} |
| 20 |
|
| 21 |
METHOD "" ~SoEngineOutputList() { Destructor. } |
| 22 |
|
| 23 |
METHOD "" void append(SoEngineOutput *engineOutput) { |
| 24 |
Adds an engine output to the end of the list. |
| 25 |
} |
| 26 |
|
| 27 |
METHOD "" void insert(SoEngineOutput *engineOutput, int addBefore) { |
| 28 |
Inserts the given engine output in the list before the |
| 29 |
element of the given index. |
| 30 |
} |
| 31 |
|
| 32 |
METHOD "" void set(int i, SoEngineOutput *engineOutput) { |
| 33 |
Sets an element of a list. |
| 34 |
} |
| 35 |
|
| 36 |
METHOD "" SoEngineOutput * operator [\|](int i) const { |
| 37 |
Accesses an element of a list. |
| 38 |
} |
| 39 |
|
| 40 |
|
| 41 |
ALSO { SoEngineOutput } |
| 42 |
|