SoFieldList(3iv)

SoFieldList3iv

Maintains a list of pointers to fields

Usage

#include <Inventor/SoLists.h>

Methods from class SoFieldList:

SoFieldList()
SoFieldList(int size)
SoFieldList(const SoFieldList &l)
~SoFieldList()
void append(SoField *ptr)
void insert(SoField *ptr, int addBefore)
SoField * operator [](int i) const
void set(int i, SoField *field)

Methods from class SbPList:

int find(const void *ptr) const
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 > SoFieldList

Overview

This subclass of SbPList holds lists of pointers to instances of classes derived from SoField.

Methods

SoFieldList()
Constructor.

SoFieldList(int size)
Constructor that pre-allocates storage for size pointers.

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

~SoFieldList()
Destructor.

void append(SoField *ptr)
Adds a pointer to the end of the list.

void insert(SoField *ptr, int addBefore)
Inserts given pointer in list before pointer with given index.

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

void set(int i, SoField *field)
Sets 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.