SoNodeList(3)
π NAME π
SoNodeList β bestie, it's a container for pointers to SoNode objects. That's the whole vibe. A little list that holds your node pointers and keeps track of them for you. β¨
This page is SoNodeList(3) from the Coin manual, section 3, and it's giving extremely useful utility class energy. π
πΈ SYNOPSIS πΈ
#include <Inventor/lists/SoNodeList.h>
Inherits SoBaseList.
Inherited by SoChildList.
π 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)
π«Ά Public Member Functions inherited from SoBaseList
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
π§ Public Member Functions inherited from SbPList
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 (const 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
Protected Member Functions inherited from SbPList
void expand (const int size)
int getArraySize (void) const
π¦ Detailed Description π¦
Okay so the SoNodeList class is a container for pointers to SoNode objects. That's it, that's the job. π
And because this class inherits SoBaseList, referencing and dereferencing will default be done on the objects at append(), remove(), insert() etc. So it's not just holding raw pointers and vibing β it's actually doing the reference-count bookkeeping for you. Iconic behavior, honestly. π
π Constructor & Destructor Documentation π
π SoNodeList::SoNodeList (void )
Default constructor. No arguments, no drama, just a fresh empty list ready to be filled. π
π 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. Makes a copy, obviously, bestie. π
See also: SoBaseList::SoBaseList(const SoBaseList &)
π SoNodeList::~SoNodeList ()
Destructor. It's the end, it cleans up after itself, we love a class that tidies. β¨
See also: SoBaseList::~SoBaseList()
π₯ Member Function Documentation π₯
β void SoNodeList::append (SoNode *const ptr)
Append ptr to the list. Just yeets it right on the end. π«Ά
See also: SoBaseList::append()
β SoNode * SoNodeList::operator[] (const int i) const
Return node pointer at index i. Give it a number, get a node. Simple as. π
See also: SoBaseList::operator[]()
β SoNodeList & SoNodeList::operator= (const SoNodeList & nl)
Copy contents of list nl to this list.
See also: SoBaseList::operator=()
π Author π
Generated automatically by Doxygen for Coin from the source code. Not a human, not a bestie, just a doc generator doing its little thing. π
And that's a wrap, gorgeous. This was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it lives in the SoNodeList(3) slot of the manual. Go forth and hold your node pointers responsibly. πβ¨π¦
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms