SoFieldList(3)
π SoFieldList β the Coin man page, but make it cute π
okay bestie, so this is a page from the Coin library manual β section 3, library functions, and the whole thing is about a lil class called SoFieldList. no cap, it's exactly what it sounds like: a container for pointers to SoField objects. iconic behavior honestly.
β¨ NAME β¨
SoFieldList β the SoFieldList class is a container for pointers to SoField objects. that's the whole vibe. a list. of field pointers. slay.
πΈ SYNOPSIS πΈ
#include <Inventor/lists/SoFieldList.h>
it inherits from SbPList, so it's picking up all the parent energy, bestie. π
Public Member Functions
SoFieldList (void)
SoFieldList (const int sizehint)
SoFieldList (const SoFieldList &l)
void append (SoField *field)
void insert (SoField *field, const int insertbefore)
SoField * operator[] (const int idx) const
void set (const int idx, SoField *field)
SoField * get (const int idx) const
Public Member Functions inherited from SbPList
these are the ones it got from its parent, and yes, they're all still there, we do not gatekeep:
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
the secret menu, iykyk:
void expand (const int size)
int getArraySize (void) const
π¦ Detailed Description π¦
the SoFieldList class is a container for pointers to SoField objects. periodt. π
See also: SbList
π Constructor & Destructor Documentation π
SoFieldList::SoFieldList (void ) [inline]
default constructor. does exactly what it says on the tin, no notes. β¨
References SbPList::SbPList().
Referenced by SoFieldList().
SoFieldList::SoFieldList (const int sizehint) [inline]
this constructor initializes the internal allocated size for the list to sizehint. but heads up bestie β the list will still initially contain zero items. so like, it's got room but nobody's home yet. π«Ά
See also: SbList::SbList(const int)
References SbPList::SbPList().
SoFieldList::SoFieldList (const SoFieldList & l) [inline]
copy constructor. clone the whole thing, main character duplicated energy. π
See also: SbList::SbList(const SbList<Type> & l)
References SbPList::SbPList(), and SoFieldList().
π₯ Member Function Documentation π₯
void SoFieldList::append (SoField * field) [inline]
overridden from the parent so it can accept an SoField pointer argument. glow-up from void * to the real thing. π
References SbPList::append().
Referenced by SoField::connectFrom(), SoFieldContainer::getAllFields(), SoFieldContainer::getFields(), SoEngineOutput::getForwardConnections(), and SoField::getForwardConnections().
void SoFieldList::insert (SoField * field, const int insertbefore) [inline]
overridden from the parent so it can accept an SoField pointer argument. sliding in at exactly the spot you said. π
References SbPList::insert().
SoField * SoFieldList::operator[] (const int idx) const [inline]
overridden from the parent to return an SoField pointer. yes, it gives you back a real typed pointer, not just a random void *. we love type safety. π
References SbPList::operator[]().
void SoFieldList::set (const int index, SoField * item) [inline]
overridden from the parent so it can accept an SoField pointer argument. drop it in, replace what was there, done. β¨
References SbPList::operator[]().
SoField * SoFieldList::get (const int idx) const [inline]
overridden from the parent to return an SoField pointer. same deal, but it's get not []. π
References SbPList::get().
π Author π
generated automatically by Doxygen for Coin from the source code. not a human, just vibes and a parser. π
okay that's the whole page bestie, you're so welcome. this was SoFieldList(3) from Coin, Version 2.5.0 β go forth and build your lists, you've got this. π¦πΈπ
π¦ 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