SOENGINELIST(3iv)
π SoEngineList β it's giving "list of engine pointers" π
okay bestie, welcome to SoEngineList(3IV), the manual page you didn't know you needed. sit down, grab a boba, we're doing pointers to engines today and honestly? iconic. π
β¨ NAME β¨
SoEngineList β maintains a list of pointers to engines π¦
like... it's a list. of pointers. to engines. that's the whole vibe. no cap.
πΈ INHERITS FROM πΈ
SbPList > SoBaseList > SoEngineList
so it's got the whole family tree going on β it inherited from SbPList, which passed its genes to SoBaseList, which passed them to SoEngineList. generational talent fr fr π
β¨ SYNOPSIS β¨
first things first, you gotta include the header, no skipping:
#include <Inventor/SoLists.h>
π«Ά Methods from class SoEngineList:
SoEngineList()
SoEngineList(int size)
SoEngineList(const SoEngineList &l)
~SoEngineList()
void append(SoEngine *engine)
SoEngine * operator [](int i) const
SoEngineList & operator =(const SoEngineList &l)
π«Ά Methods from class SoBaseList:
void insert(SoBase *ptr, int addBefore)
void remove(int which)
void truncate(int start)
void copy(const SoBaseList &l)
void set(int i, SoBase *ptr)
void addReferences(SbBool flag)
π«Ά Methods from class SbPList:
int find(const void *ptr) const
int getLength() const
int operator ==(const SbPList &pl) const
int operator !=(const SbPList &pl) const
look at all those inherited methods, they really said "family heirlooms" π
π DESCRIPTION π
okay so here's the tea: this subclass of SoBaseList holds lists of pointers to SoEngines. and the way that it updates reference counts to engines in the list whenever you add or remove pointers?? that's the whole personality. it's keeping track so you don't have to. main character energy, honestly. π₯
π METHODS π
SoEngineList()β Constructor. the classic. the original. no notes. β¨SoEngineList(int size)β Constructor that pre-allocates storage forsizepointers. it's like reserving your table before the group chat even shows up πSoEngineList(const SoEngineList &l)β Constructor that copies the contents of another list. twin behavior, literally π―~SoEngineList()β Destructor. it's giving closure. it's giving goodbye. it's giving cleanup πvoid append(SoEngine *engine)β Adds an engine to the end of the list. go to the back of the line bestie, respectfully πSoEngine * operator [](int i) constβ Accesses an element of a list. you want indexi? say less πSoEngineList & operator =(const SoEngineList &l)β Copies a list, keeping all reference counts correct. no broken counts, no drama, we stay accurate π«Ά
π¦ SEE ALSO π¦
SoEngine
go check that one out too, it's the whole reason this list exists, iykyk π
reminder bestie: this page is SoEngineList(3IV)(), and yes, it's the same title at the top and the bottom β the manual said "bookends" and honestly? slay.
and that's a wrap!! π the source/version is SoEngineList(3IV) and the date slot is empty, which is lowkey mysterious of it but we respect the silence. mwah, bye!! πβ¨
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms