SoTypeList(3iv)

SoTypeList3iv

Maintains a list of sotypes

Usage

#include <Inventor/SoLists.h>

Methods from class SoTypeList:

SoTypeList()
SoTypeList(int size)
SoTypeList(const SoTypeList &l)
~SoTypeList()
void append(SoType type)
void insert(SoType *type, int addBefore)
void set(int i, SoType *type)
int find(SoType typeId) const
SoType operator [](int i) const

Methods from class SbPList:

void remove(int which)
int getLength() const
void truncate(int start)
void copy(const SbPList &pl)
SbPList & operator =(const SbPList &pl)
int operator ==(const SbPList &pl) const
int operator !=(const SbPList &pl) const

Inherits from

SbPList > SoTypeList

Overview

This subclass of SbPList holds lists of SoType type identifiers.

Methods

SoTypeList()
Constructor.

SoTypeList(int size)
Constructor that pre-allocates storage for size types.

SoTypeList(const SoTypeList &l)
Constructor that copies the contents of another list.

~SoTypeList()
Destructor.

void append(SoType type)
Adds a type to the end of the list.

void insert(SoType *type, int addBefore)
Inserts given type in list before type with given index.

void set(int i, SoType *type)
Sets an element of a list.

int find(SoType typeId) const
Returns index of given type in list, or -1 if not found.

SoType operator [](int i) const
Accesses an element of a list.

Releases

Unchanged in 9 releases since Debian 3.0 (Woody).

  1. 3.0–13

From inventor-doc 2.1.6+ds-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.