SoNodeList(3)

πŸ“¦ version 3.1.3, in fedora 43, fedora 44

πŸ’– SoNodeList πŸ’–

okay bestie, welcome to the manual page for SoNodeList β€” it lives in section 3 of the library functions manual, and it's basically the little buddy that holds all your SoNode pointers. let's get into it 🫢


✨ NAME ✨

SoNodeList β€” the SoNodeList class is a container for pointers to SoNode objects. that's the whole vibe. a lil box full of node pointers. iconic πŸ’…


✨ 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 (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 🌈

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. so like, the list is out here doing the bookkeeping for you, no cap ✨


πŸŽ€ Constructor & Destructor Documentation πŸŽ€

SoNodeList::SoNodeList (void )

Default constructor. the classic. no args, no notes, just vibes πŸ’…

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. making a lil twin of an existing list πŸ¦‹

See also SoBaseList::SoBaseList(const SoBaseList &)

SoNodeList::~SoNodeList ()

Destructor. say bye bye πŸ‘‹

See also SoBaseList::~SoBaseList()


πŸ’œ Member Function Documentation πŸ’œ

void SoNodeList::append (SoNode *const ptr)

Append ptr to the list. just yeet it on the end, bestie.

See also SoBaseList::append()

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

Return node pointer at index i. that's the one you asked for, fr fr.

See also SoBaseList::operator[]()

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

Copy contents of list nl to this list. your list now has their list's stuff. main character energy πŸ”₯

See also SoBaseList::operator=()


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. (yes, a robot wrote this, and honestly? it ate. πŸ’€)


and that's the whole page, bestie!! 🌸 this was Coin, Version 3.1.3, and this little SoNodeList(3) moment is officially wrapped. go forth and slay your node lists βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from