SoFieldList(3)
π SoFieldList β a whole vibe π
okay so bestie, welcome to SoFieldList(3) π«Ά this is a section-3 library function page, and it's literally a little container that holds pointers to SoField objects. that's the whole personality. she's a list. she's iconic. let's get into it β¨
πΈ NAME πΈ
SoFieldList β the SoFieldList class is a container for pointers to SoField objects. no cap, that's it, that's the job π
β¨ SYNOPSIS β¨
first things first, you gotta pull her in:
#include <Inventor/lists/SoFieldList.h>
and she Inherits SbPList β so everything SbPList can do, she can do too, just with a glow-up π
π 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 π
she got all of this from her mom, and she's serving it flawlessly:
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 π¦
these ones are protected, so they're the backstage crew β you can't just walk up and talk to them unless you're a subclass, iykyk:
Protected Member Functions inherited from SbPList
void expand (const int size)
int getArraySize (void) const
π Detailed Description π
The SoFieldList class is a container for pointers to SoField objects.
that's the whole thing bestie, she holds SoField pointers and she does it beautifully π
See also
SbList
π Constructor & Destructor Documentation π
SoFieldList::SoFieldList (void ) [inline]
Default constructor. she's born empty and ready to slay β¨
SoFieldList::SoFieldList (const int sizehint) [inline]
This constructor initializes the internal allocated size for the list to sizehint. Note that the list will still initially contain zero items β like, she's got the shelf space, she just hasn't put anything on it yet π
See also
SbList::SbList(const int)
SoFieldList::SoFieldList (const SoFieldList & l) [inline]
Copy constructor. she's twin sister energy fr fr π―
See also
SbList::SbList(const SbList<Type> & l)
π₯ Member Function Documentation π₯
void SoFieldList::append (SoField * field) [inline]
Overridden from parent to accept an SoField pointer argument. mom's version took a void *, but she said "no thank you, I want type safety" π
void SoFieldList::insert (SoField * field, const int insertbefore) [inline]
Overridden from parent to accept an SoField pointer argument. same glow-up, different function, she's just built different π
SoField * SoFieldList::operator[] (const int idx) const [inline]
Overridden from parent to return an SoField pointer. grab her by the idx, she'll hand you the right pointer every time β
void SoFieldList::set (const int index, SoField * item) [inline]
Overridden from parent to accept an SoField pointer argument. she'll slot your SoField pointer into that index, periodt π«Ά
SoField * SoFieldList::get (const int idx) const [inline]
Overridden from parent to return an SoField pointer. same energy as operator[], she just also answers to get π
π Author π
Generated automatically by Doxygen for Coin from the source code. not a human, just a robot doing its little thing π€β¨
ok that's the whole page bestie, you ate that π no options section, no environment variables, no exit statuses β she's a simple queen and she knows it.
and that's a wrap on SoFieldList(3) β brought to you by Coin, Version 3.1.3 πͺβ¨ go forth and hold those SoField pointers, ily, bye!! ππ¦π
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.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