51#ifndef _SO_TYPE_LIST_H_
52#define _SO_TYPE_LIST_H_
54#include <Inventor/SbPList.h>
55#include <Inventor/SoType.h>
122 static void *putSoTypeIntoPointer(
const SoType& typeId);
List of generic (void *) pointers.
virtual void truncate(int start)
Removes all pointers after one with given index, inclusive.
Stores runtime type information.
Maintains a list of SoTypes.
void append(SoType typeId)
Adds a type to the end of the list.
virtual ~SoTypeList()
Destructor.
int find(SoType typeId) const
Returns index of given type in list, or -1 if not found.
void insert(SoType typeId, int addBefore)
Inserts given type in list before type with given index.
SoTypeList(const SoTypeList &l)
Constructor that copies the contents of another list.
void set(int i, SoType typeId)
Sets an element of a list.
SoTypeList(int size)
Constructor that pre-allocates storage for size types.
SoType operator[](int i) const
Returns pointer with given index.