SoTypeList(3)

πŸ“¦ version 2.5.0, in fedora 43, fedora 44

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) const
  • void insert (const SoType type, const int insertbefore)
  • SoType operator[] (const int idx) const
  • void 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) const
  • void insert (void *item, const int insertbefore)
  • void removeItem (void *item)
  • void remove (const int index)
  • void removeFast (const int index)
  • int getLength (void) const
  • void truncate (const int length, const int fit=0)
  • void ** getArrayPtr (const int start=0) const
  • void *& operator[] (const int index) const
  • int operator== (const SbPList &l) const
  • int operator!= (const SbPList &l) const
  • void * get (const int index) const
  • void 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