man SoDetailList () - maintains a list of instances of details

NAME

SoDetailList - maintains a list of instances of details

INHERITS FROM

SbPList > SoDetailList

SYNOPSIS

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

c } c } SoDetailList(int size)

c } c } SoDetailList(const SoDetailList &l)

c } c } ~SoDetailList()

c } c } append(SoDetail *detail)

c } c } insert(SoDetail *detail, int addBefore)

c } c } truncate(int start)

c } c } copy(const SoDetailList &l)

c } c } operator =(const SoDetailList &l)

c } c } operator [](int i) const

c } c } set(int i, SoDetail *detail) Methods from class SbPList: c } c } find(const void *ptr) const

c } c } remove(int which)

c } c } getLength() const

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

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

DESCRIPTION

This subclass of SbPList holds lists of instances of classes derived from SoDetail.

METHODS

c } c } SoDetailList()

Constructor. c } c } SoDetailList(int size)

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

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

Destructor. c } c } append(SoDetail *detail)

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

Inserts given detail in list before detail with given index. c } c } truncate(int start)

Removes all details after one with given index, inclusive. Removed detail instances are deleted. c } c } copy(const SoDetailList &l)

Copies a list, making a copy of each detail instance in the list. c } c } operator =(const SoDetailList &l)

Copies a list, making a copy of each detail instance in the list. c } c } operator [](int i) const

Accesses an element of a list. c } c } set(int i, SoDetail *detail)

Sets an element of a list, deleting the old entry first.

SEE ALSO

SoDetail