SoTypeList(3)
okay so bestie, you clicked into the Library Functions Manual and landed on SoTypeList(3) β and honestly? you're about to eat π. this is Coin's lil container class for holding arrays of SoType objects, it's lowkey the backbone of type bookkeeping, and we're gonna go through every single thing on this page. no skimming. no skipping. we're thorough in this house π
πΈ NAME πΈ
SoTypeList β the SoTypeList class is a container class for arrays of SoType objects. periodt.
β¨ SYNOPSIS β¨
#include <Inventor/lists/SoTypeList.h>
Inherits SbPList. yes bestie it's giving nepo baby but in the good way β it gets a whole inheritance situation going on π«Ά
π Public Member Functions π
SoTypeList (void)SoTypeList (const int sizehint)SoTypeList (const SoTypeList &l)void append (const SoType type)int find (const SoType type) constvoid insert (const SoType type, const int insertbefore)SoType operator[] (const int idx) constvoid set (const int index, const SoType item)
π¦ 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 π
The SoTypeList class is a container class for arrays of SoType objects. that's the whole vibe, and she serves it π
See also
SbList
π CONSTRUCTOR & DESTRUCTOR DOCUMENTATION π
SoTypeList::SoTypeList (void ) [inline]
Default constructor. just your classic no-args moment, she's ready to hold absolutely nothing and she's at peace with that β¨
References SbPList::SbPList().
Referenced by SoTypeList().
SoTypeList::SoTypeList (const int sizehint) [inline]
This constructor initializes the internal allocated size for the list to sizehint. heads up bestie: the list will still initially contain zero items. so like, the space is reserved but nobody's home yet π β don't come for her.
See also
SbList::SbList(const int sizehint)
References SbPList::SbPList().
SoTypeList::SoTypeList (const SoTypeList & l) [inline]
Copy constructor. twin energy fr fr π―
See also
SbList::SbList(const SbList<Type> & l)
References SbPList::SbPList(), and SoTypeList().
π₯ MEMBER FUNCTION DOCUMENTATION π₯
void SoTypeList::append (const SoType type)
Overridden from parent to accept an SoType argument. so instead of some vague void * situation, she takes a real live SoType β glow up, honestly π
References SbPList::append(), and SoType::getKey().
Referenced by SoNodeKitListPart::addChildType(), SoNodekitCatalog::addEntry(), SoEnabledElementsList::enable(), SoType::getAllDerivedFrom(), SoNodeKitListPart::getChildTypes(), and SoNodekitCatalog::recursiveSearch().
int SoTypeList::find (const SoType type) const
Overridden from parent to accept an SoType argument. go off, find her π
References SbPList::find(), and SoType::getKey().
Referenced by SoNodekitCatalog::recursiveSearch(), and SoToVRML2Action::SoToVRML2Action().
void SoTypeList::insert (const SoType type, const int insertbefore)
Overridden from parent to accept an SoType argument. you give her the type and where you want it shoved in (insertbefore) and she handles the rest π«Ά
References SoType::getKey(), and SbPList::insert().
SoType SoTypeList::operator[] (const int idx) const
Overridden from parent to return an SoType instance.. (yes, two dots, that's canon, don't @ me π) hand her an idx and she hands you back the SoType sitting there.
References SoType::fromKey().
void SoTypeList::set (const int index, const SoType item)
This method sets the element at index to item. Overridden to accept an SoType argument. main character energy: you point at a slot, you say "be this now", and it is β¨
References SoType::getKey(), and SbPList::set().
π§ AUTHOR π§
Generated automatically by Doxygen for Coin from the source code. not a human, not a vibe curator, just Doxygen doing her little machine thing π€
ok bestie that's the whole page, every flag-free function, every inherited member, every reference and referencer. nothing skipped, nothing invented. slay π
and that's a wrap from the Coin era β this is Version 2.5.0, mwah ππ
π¦ 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