man SoTypeList () - maintains a list of SoTypes

NAME

SoTypeList - maintains a list of SoTypes

INHERITS FROM

SbPList > SoTypeList

SYNOPSIS

#include <Inventor/SoLists.h> Methods from class SoTypeList: c } c } SoTypeList()

c } c } SoTypeList(int size)

c } c } SoTypeList(const SoTypeList &l)

c } c } ~SoTypeList()

c } c } append(SoType type)

c } c } insert(SoType *type, int addBefore)

c } c } set(int i, SoType *type)

c } c } find(SoType typeId) const

c } c } operator [](int i) const Methods from class SbPList: c } c } remove(int which)

c } c } getLength() const

c } c } truncate(int start)

c } c } copy(const SbPList &pl)

c } c } operator =(const SbPList &pl)

c } c } operator ==(const SbPList &pl) const

c } c } operator !=(const SbPList &pl) const

DESCRIPTION

This subclass of SbPList holds lists of SoType type identifiers.

METHODS

c } c } SoTypeList()

Constructor. c } c } SoTypeList(int size)

Constructor that pre-allocates storage for size types. c } c } SoTypeList(const SoTypeList &l)

Constructor that copies the contents of another list. c } c } ~SoTypeList()

Destructor. c } c } append(SoType type)

Adds a type to the end of the list. c } c } insert(SoType *type, int addBefore)

Inserts given type in list before type with given index. c } c } set(int i, SoType *type)

Sets an element of a list. c } c } find(SoType typeId) const

Returns index of given type in list, or -1 if not found. c } c } operator [](int i) const

Accesses an element of a list.

SEE ALSO

SoType