SOTYPELIST(3iv)
β¨ SoTypeList β¨
okay bestie, welcome to SoTypeList from the 3IV manual β she maintains a list of SoTypes π
and honestly? she ate.
π«Ά INHERITS FROM
SbPList > SoTypeList
so she's an SbPList girlie first, SoTypeList icon second π
πΈ SYNOPSIS
#include <Inventor/SoLists.h>
Methods from class SoTypeList:
SoTypeList()
SoTypeList(int size)
SoTypeList(const SoTypeList &l)
~SoTypeList()
void append(SoType type)
void insert(SoType *type, int addBefore)
void set(int i, SoType *type)
int find(SoType typeId) const
SoType operator [](int i) const
Methods from class SbPList:
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
This subclass of SbPList holds lists of SoType type identifiers. that's the whole vibe fr fr β she's a SbPList with type-id energy π¦
π METHODS
SoTypeList()
Constructor. new list, who dis β¨
SoTypeList(int size)
Constructor that pre-allocates storage for size types. she's getting ready in advance, lowkey iconic π
SoTypeList(const SoTypeList &l)
Constructor that copies the contents of another list. twin behavior π
~SoTypeList()
Destructor. she's leaving the group chat π
void append(SoType type)
Adds a type to the end of the list. always at the back, never cutting the line π
void insert(SoType *type, int addBefore)
Inserts given type in list before type with given index. squeezing into the friend group at exactly the right spot π«Ά
void set(int i, SoType *type)
Sets an element of a list. slot i, you're up β
int find(SoType typeId) const
Returns index of given typeId in list, or -1 if not found. and if she's not there? -1, no cap π
SoType operator [](int i) const
Accesses an element of a list. square brackets, main character energy π₯
π SEE ALSO
SoType
and that's the whole page bestie!! written by the SoTypeList(3IV) girlies, SoTypeList(3IV)() energy all the way through, dated and versioned exactly like the original footer said β mwah, 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