Debian Codegraph @

doc/man/man3/ivm/fields/SoFieldList.ivm

raw
1 NAME SoFieldList "" "" { maintains a list of pointers to fields }
2
3 INCLUDE SoLists.h
4
5 DESC {
6 This subclass of \cSbPList\. holds lists of pointers to
7 instances of classes derived from \cSoField\..
8 }
9
10 METHOD "" SoFieldList() { Constructor. }
11
12 METHOD createSize SoFieldList(int size) {
13 Constructor that pre-allocates storage for \asize\. pointers.
14 }
15
16 METHOD " " SoFieldList(const SoFieldList &l) {
17 Constructor that copies the contents of another list.
18 }
19
20 METHOD "" ~SoFieldList() { Destructor. }
21
22 METHOD "" void append(SoField *ptr) { Adds a pointer to the end of the list. }
23
24 METHOD "" void insert(SoField *ptr, int addBefore) {
25 Inserts given pointer in list before pointer with given index.
26 }
27
28 METHOD "" SoField * operator [\|](int i) const { Accesses an element of a list. }
29
30 METHOD "" void set(int i, SoField *field) { Sets an element of a list. }
31
32 ALSO { SoField }