SoNodeList

Langue: en

Autres versions - même langue

Version: 326044 (ubuntu - 08/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SoNodeList -

SYNOPSIS


#include <Inventor/lists/SoNodeList.h>

Inherits SoBaseList.

Inherited by SoChildList.

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.

Public Member Functions


SoNodeList (void)

SoNodeList (const int size)

SoNodeList (const SoNodeList &nl)

~SoNodeList ()

void append (SoNode *const ptr)

SoNode * operator[] (const int i) const

SoNodeList & operator= (const SoNodeList &nl)

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 ptr)

Append ptr to the list.

See also:

SoBaseList::append()

Reimplemented in SoChildList.

References SoBaseList::append().

Referenced by SoChildList::append(), and SoNode::getByName().

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

Return node pointer at index i.

See also:

SoBaseList::operator[]()

Reimplemented from SoBaseList.

References SoBaseList::operator[]().

Referenced by SoChildList::remove(), SoChildList::set(), and SoChildList::truncate().

SoNodeList & SoNodeList::operator= (const SoNodeList & nl)

Copy contents of list nl to this list.

See also:

SoBaseList::operator=()

References SoBaseList::copy().

Author

Generated automatically by Doxygen for Coin from the source code.