Open Inventor Reference
SoNodeList Class Reference

Maintains a list of pointers to nodes. More...

#include <Inventor/SoLists.h>

Inheritance diagram for SoNodeList:
SoBaseList SbPList SoChildList

List of all members.

Public Member Functions

 SoNodeList ()
 SoNodeList (int size)
 SoNodeList (const SoNodeList &l)
 ~SoNodeList ()
 Destructor.
void append (SoNode *ptr)
 Adds a pointer to the end of the list.
SoNodeListoperator= (const SoNodeList &l)
 Copies a list, keeping all reference counts correct.
SoNodeoperator[] (int i) const
 Access an element of a list.

Detailed Description

This subclass of SoBaseList holds lists of pointers to SoNodes. It updates reference counts to nodes in the list whenever adding or removing pointers.

See Also
SoNode

Definition at line 177 of file SoLists.h.


Constructor & Destructor Documentation

SoNodeList::SoNodeList ( ) [inline]

Definition at line 179 of file SoLists.h.

SoNodeList::SoNodeList ( int  size) [inline]

Definition at line 180 of file SoLists.h.

SoNodeList::SoNodeList ( const SoNodeList l) [inline]

Definition at line 181 of file SoLists.h.

SoNodeList::~SoNodeList ( ) [inline]

Definition at line 183 of file SoLists.h.


Member Function Documentation

void SoNodeList::append ( SoNode ptr) [inline]

Reimplemented in SoChildList.

Definition at line 186 of file SoLists.h.

SoNodeList& SoNodeList::operator= ( const SoNodeList l) [inline]

Definition at line 190 of file SoLists.h.

References SoBaseList::copy().

SoNode* SoNodeList::operator[] ( int  i) const [inline]

Reimplemented from SoBaseList.

Definition at line 193 of file SoLists.h.


The documentation for this class was generated from the following file: