1SoFieldList(3IV)() SoFieldList(3IV)()
2
3
4
6 SoFieldList — maintains a list of pointers to fields
7
9 SbPList > SoFieldList
10
12 #include <Inventor/SoLists.h>
13
14 Methods from class SoFieldList:
15
16 SoFieldList()
17 SoFieldList(int size)
18 SoFieldList(const SoFieldList &l)
19 ~SoFieldList()
20 void append(SoField *ptr)
21 void insert(SoField *ptr, int addBefore)
22 SoField * operator [](int i) const
23 void set(int i, SoField *field)
24
25 Methods from class SbPList:
26
27 int find(const void *ptr) const
28 void remove(int which)
29 int getLength() const
30 void truncate(int start)
31 void copy(const SbPList &pl)
32 SbPList & operator =(const SbPList &pl)
33 int operator ==(const SbPList &pl) const
34 int operator !=(const SbPList &pl) const
35
36
38 This subclass of SbPList holds lists of pointers to instances of
39 classes derived from SoField.
40
42 SoFieldList()
43 Constructor.
44
45 SoFieldList(int size)
46 Constructor that pre-allocates storage for size pointers.
47
48 SoFieldList(const SoFieldList &l)
49 Constructor that copies the contents of another list.
50
51 ~SoFieldList()
52 Destructor.
53
54 void append(SoField *ptr)
55 Adds a pointer to the end of the list.
56
57 void insert(SoField *ptr, int addBefore)
58 Inserts given pointer in list before pointer with given index.
59
60 SoField * operator [](int i) const
61 Accesses an element of a list.
62
63 void set(int i, SoField *field)
64 Sets an element of a list.
65
66
68 SoField
69
70
71
72
73 SoFieldList(3IV)()