SOENGINEOUTPUTLIST(3iv)
β¨ SoEngineOutputList β¨
okay bestie, welcome to the SoEngineOutputList(3IV) page π this one's a lil niche but it's lowkey iconic β it's the girl who keeps a list of pointers to engine outputs. yes. that's her whole job. and she does it flawlessly π
πΈ NAME πΈ
SoEngineOutputList β maintains a list of pointers to engine outputs π
π¦ INHERITS FROM π¦
SbPList > SoEngineOutputList
so she's a glow-up of SbPList, she inherited the whole vibe and then added her own thing. main character energy fr β¨
π SYNOPSIS π
#include <Inventor/SoLists.h>
okay so here's what she brings to the table, starting with her very own methods:
SoEngineOutputList()
SoEngineOutputList(int size)
SoEngineOutputList(const SoEngineOutputList &l)
~SoEngineOutputList()
void append(SoEngineOutput *engineOutput)
void insert(SoEngineOutput *engineOutput, int addBefore)
void set(int i, SoEngineOutput *engineOutput)
SoEngineOutput * operator [](int i) const
and then the ones she got from her mother, class SbPList π:
int find(const void *ptr) const
void remove(int which)
int getLength() const
void truncate(int start)
void copy(const SbPList &pl)
SbPList & operator =(const SbPList &pl)
int operator ==(const SbPList &pl) const
int operator !=(const SbPList &pl) const
π DESCRIPTION π
so like. this subclass of SbPlist holds lists of pointers to SoEngineOutputs. and here's the important part, no cap: she updates reference counts to engine outputs in the list whenever adding or removing pointers. so she's not just holding your pointers, she's being responsible about it. the way that she actually manages the refcounts?? obsessed π«Ά
π METHODS π
SoEngineOutputList()β the constructor, bestie. she exists now πSoEngineOutputList(int size)β constructor that pre-allocates storage for size pointers. she's manifesting space ahead of time, as she should β¨SoEngineOutputList(const SoEngineOutputList &l)β constructor that copies the contents of another list. twin behavior π§~SoEngineOutputList()β the destructor. she's leaving the group chat, but she's cleaning up on her way out πvoid append(SoEngineOutput *engineOutput)β adds an engine output to the end of the list. she goes last, always, that's just the rule πvoid insert(SoEngineOutput *engineOutput, int addBefore)β inserts the given engine output in the list before the element of the given index. she cuts the line but politely πvoid set(int i, SoEngineOutput *engineOutput)β sets an element of a list. swapping out the fit at index i π₯SoEngineOutput * operator [](int i) constβ accesses an element of a list. peek inside, iykyk π
okay and just so we're clear:int iandint addBeforeandint sizeare all placeholders β you're passing your own values in, not those literal words π
π SEE ALSO π
SoEngineOutput
and that's the whole page bestie, no cap, you ate it π so <pink>SoEngineOutputList(3IV)</pink> with no date attached β that's the footer, that's the version stamp, that's the little signature at the bottom of the page, and honestly? iconic. periodt πβ¨π¦
π¦ 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