SoFieldList(3)

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

πŸ’– 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