Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

SoNodeList Class Reference

The SoNodeList class is a container for pointers to SoNode objects. More...

#include <Inventor/lists/SoNodeList.h>

Inheritance diagram for SoNodeList::

SoBaseList SbPList SoChildList List of all members.

Public Methods

 SoNodeList (void)
 SoNodeList (const int size)
 SoNodeList (const SoNodeList &nl)
 ~SoNodeList ()
void append (SoNode *const ptr)
SoNodeoperator[] (const int i) const
SoNodeList & operator= (const SoNodeList &nl)

Detailed Description

The SoNodeList class is a container for pointers to SoNode objects.

As this class inherits SoBaseList, referencing and dereferencing will default be done on the objects at append(), remove(), insert() etc.


Constructor & Destructor Documentation

SoNodeList::SoNodeList void
 

Default constructor.

SoNodeList::SoNodeList const int size
 

Constructor with a hint about the number of elements the list will hold.

See also:
SoBaseList::SoBaseList(const int)

SoNodeList::SoNodeList const SoNodeList & nl
 

Copy constructor.

See also:
SoBaseList::SoBaseList(const SoBaseList &)

SoNodeList::~SoNodeList
 

Destructor.

See also:
SoBaseList::~SoBaseList()


Member Function Documentation

void SoNodeList::append SoNode *const node
 

Append ptr to the list.

See also:
SoBaseList::append()

Reimplemented in SoChildList.

SoNode * SoNodeList::operator[] const int i const
 

Return node pointer at index i.

See also:
SoBaseList::operator[]()

Reimplemented from SoBaseList.

SoNodeList & SoNodeList::operator= const SoNodeList & nl
 

Copy contents of list nl to this list.

See also:
SoBaseList::operator=()


The documentation for this class was generated from the following files:
Generated at Tue Mar 5 03:31:28 2002 for Coin by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001