SoNodeList(3)
π¦ SoNodeList π¦
okay bestie, sit down, hydrate, because this is the manual page for SoNodeList, and it lives in section 3 β the Library Functions Manual, which is literally where all the library-function girlies hang out. it's giving reference page energy and we are obsessed. π
β¨ NAME β¨
SoNodeList β the class that is a container for pointers to SoNode objects. that's it, that's the whole vibe. a little list. of node pointers. iconic behavior honestly. π
πΈ SYNOPSIS πΈ
#include <Inventor/lists/SoNodeList.h>
- Inherits
SoBaseList. - Inherited by
SoChildList.
so it's part of a whole little family tree, and the family is big. π§
π Public Member Functions π
SoNodeList (void)β the default constructorSoNodeList (const int size)β constructor with a size hintSoNodeList (const SoNodeList &nl)β copy constructor~SoNodeList ()β destructorvoid append (SoNode *const ptr)β appends a node pointerSoNode * operator[] (const int i) constβ grabs the node pointer at an indexSoNodeList & operator= (const SoNodeList &nl)β assignment operator
π 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) constvoid 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) constvoid insert (void *item, const int insertbefore)void removeItem (void *item)void remove (const int index)void removeFast (const int index)int getLength (void) constvoid truncate (const int length, const int fit=0)void ** getArrayPtr (const int start=0) constvoid *& operator[] (const int index) constint operator== (const SbPList &l) constint operator!= (const SbPList &l) constvoid * get (const int index) constvoid 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 π₯
SoNodeList is a container for pointers to SoNode objects. periodt. π
and here's the tea bestie: 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 random pointers and ghosting them β it's doing the reference bookkeeping for you. main character energy fr fr. π
π Constructor & Destructor Documentation π
SoNodeList::SoNodeList (void )
Default constructor. simple, classic, no notes. β¨
Referenced by operator=(), SoChildList::SoChildList(), SoChildList::SoChildList(), SoChildList::SoChildList(), and SoNodeList().
yes bestie, SoChildList::SoChildList() really does show up three separate times in that list. i did not stutter, and neither did the original. π
SoNodeList::SoNodeList (const int size)
Constructor with a hint about the number of elements the list will hold.
See also
SoBaseList::SoBaseList(const int)
References SoBaseList::SoBaseList().
SoNodeList::SoNodeList (const SoNodeList & nl)
Copy constructor. making a lil twin of an existing list, we love to see it. π¦
See also
SoBaseList::SoBaseList(const SoBaseList &)
References SoBaseList::SoBaseList(), and SoNodeList().
SoNodeList::~SoNodeList ()
Destructor. saying bye bye, cleaning up, closing the group chat. π
See also
SoBaseList::~SoBaseList()
πΈ Member Function Documentation πΈ
void SoNodeList::append (SoNode *const ptr)
Append ptr to the list. just yeeting that node pointer onto the end, respectfully. π
See also
SoBaseList::append()
References SoBaseList::append().
Referenced by SoChildList::append(), SoNode::getByName(), and SoBaseKit::readInstance().
SoNode * SoNodeList::operator[] (const int i) const
Return node pointer at index i. you ask for i, you get i. no cap. β
See also
SoBaseList::operator[]()
References SoBaseList::operator[]().
Referenced by SoChildList::remove(), and SoChildList::set().
SoNodeList & SoNodeList::operator= (const SoNodeList & nl)
Copy contents of list nl to this list. full glow-up transplant, contents edition. π
See also
SoBaseList::operator=()
References SoBaseList::copy(), and SoNodeList().
π Author π
Generated automatically by Doxygen for Coin from the source code. not a human bestie, a robot did this, and honestly? it ate. π₯
and that's the whole page, babes π«Ά β this one came from Coin, Version 2.5.0, and it's filed under SoNodeList(3). slay, stay hydrated, and go read your headers. ππ
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms