![]() |
http://www.sim.no http://www.coin3d.org |
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. More...
#include <Inventor/lists/SoNodeList.h>
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) |
![]() | |
SoBaseList (void) | |
SoBaseList (const int size) | |
SoBaseList (const SoBaseList &l) | |
~SoBaseList () | |
void | append (SoBase *ptr) |
void | insert (SoBase *ptr, const int addbefore) |
void | remove (const int index) |
void | removeItem (SoBase *item) |
void | truncate (const int length) |
void | copy (const SoBaseList &l) |
SoBaseList & | operator= (const SoBaseList &l) |
SoBase * | operator[] (const int i) const |
void | set (const int i, SoBase *const ptr) |
void | addReferences (const SbBool flag) |
SbBool | isReferencing (void) const |
![]() | |
SbPList (const int sizehint=DEFAULTSIZE) | |
SbPList (const SbPList &l) | |
~SbPList () | |
void | copy (const SbPList &l) |
SbPList & | operator= (const SbPList &l) |
void | fit (void) |
void | append (void *item) |
int | find (void *item) const |
void | insert (void *item, const int insertbefore) |
void | removeItem (void *item) |
void | remove (const int index) |
void | removeFast (const int index) |
int | getLength (void) const |
void | truncate (const int length, const int fit=0) |
void ** | getArrayPtr (const int start=0) const |
void *& | operator[] (const int index) const |
int | operator== (const SbPList &l) const |
int | operator!= (const SbPList &l) const |
void * | get (const int index) const |
void | set (const int index, void *item) |
Additional Inherited Members | |
![]() | |
void | expand (const int size) |
int | getArraySize (void) const |
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.
SoNodeList::SoNodeList | ( | void | ) |
Default constructor.
SoNodeList::SoNodeList | ( | const int | size | ) |
Constructor with a hint about the number of elements the list will hold.
SoNodeList::SoNodeList | ( | const SoNodeList & | nl | ) |
Copy constructor.
SoNodeList::~SoNodeList | ( | ) |
Destructor.
void SoNodeList::append | ( | SoNode *const | ptr | ) |
Append ptr to the list.
References SoBaseList::append().
Referenced by SoChildList::append(), SoPath::append(), SoNode::getByName(), and SoBaseKit::readInstance().
SoNode * SoNodeList::operator[] | ( | const int | i | ) | const |
Return node pointer at index i.
References SoBaseList::operator[]().
Referenced by SoChildList::remove(), and SoChildList::set().
SoNodeList & SoNodeList::operator= | ( | const SoNodeList & | nl | ) |
Copy contents of list nl to this list.
References SoBaseList::copy().
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Fri Feb 17 2017 for Coin by Doxygen. 1.8.13