SoEngineList(3)

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

πŸ’– SoEngineList(3) πŸ’–

okay bestie, come sit with me β€” this is a page from the Library Functions Manual, and today we're getting into SoEngineList. It's a little container that holds SoEngine objects. That's the whole vibe. Let's go ✨


🌸 NAME 🌸

SoEngineList β€” the class that's literally just a container for SoEngine objects. That's it. That's the girl. πŸ‘‘


✨ SYNOPSIS ✨

#include <Inventor/lists/SoEngineList.h>

Inherits SoBaseList. Yeah she's got a whole family tree, and we're gonna meet all of them because nobody gets left out in this house 🫢

πŸ’… Public Member Functions

SoEngineList (void)
SoEngineList (const int size)
SoEngineList (const SoEngineList &el)
~SoEngineList ()
void append (SoEngine *const ptr)
SoEngine * operator[] (const int i) const
SoEngineList & operator= (const SoEngineList &el)

πŸ¦‹ Public Member Functions inherited from SoBaseList

SoBaseList (void)
SoBaseList (const int size)
SoBaseList (const SoBaseList &l)
~SoBaseList ()
void append (SoBase *ptr)
void insert (SoBase *ptr, const int addbefore)
void remove (const int index)
void removeItem (SoBase *item)
void truncate (const int length)
void copy (const SoBaseList &l)
SoBaseList & operator= (const SoBaseList &l)
SoBase * operator[] (const int i) const
void set (const int i, SoBase *const ptr)
void addReferences (const SbBool flag)
SbBool isReferencing (void) const

🌈 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 πŸ’œ

So. SoEngineList is a container for SoEngine objects. Periodt.

And because this class inherits SoBaseList, the referencing and dereferencing stuff will by default be done on the objects at append(), remove(), insert() etc. That's the lowkey important part, bestie β€” the list is doing the ref-counting homework for you 🧚


πŸŽ€ Constructor & Destructor Documentation πŸŽ€

⭐ SoEngineList::SoEngineList (void )

Default constructor. The classic. No notes. πŸ’…

⭐ SoEngineList::SoEngineList (const int size)

Constructor with a hint about how many elements the list is gonna hold. Just a hint though, she's not committing to anything.

See also

  • SoBaseList::SoBaseList(const int)

⭐ SoEngineList::SoEngineList (const SoEngineList & el)

Copy constructor. Making a whole new list with the same energy as el 🫢

See also

  • SoBaseList::SoBaseList(const SoBaseList &)

⭐ SoEngineList::~SoEngineList ()

Destructor. She's leaving the group chat 😭

See also

  • SoBaseList::~SoBaseList()

πŸ”₯ Member Function Documentation πŸ”₯

🌟 void SoEngineList::append (SoEngine *const ptr)

Append ptr to the list. Just sliding it right onto the end, no drama, no fuss. ✨

See also

  • SoBaseList::append()

🌟 SoEngine * SoEngineList::operator[] (const int i) const

Return the engine pointer at index i. That's the one at position i, bestie. Zero-indexed, as always. πŸ‘‘

See also

  • SoBaseList::operator[]()

🌟 SoEngineList & SoEngineList::operator= (const SoEngineList & el)

Copy the contents of list el to this list. Full transfer of vibes. πŸ’–

See also

  • SoBaseList::operator=()

πŸ¦‹ Author πŸ¦‹

Generated automatically by Doxygen for Coin from the source code. (not me getting emotionally attached to an auto-generated doc, but here we are πŸ™ˆ)


and that's the whole page, bestie β€” every flag, every inherited function, every see-also, all of it, untouched, just wearing a cuter outfit now πŸ’…

This lil beauty shipped with Coin, Version 3.1.3, and it lives at SoEngineList(3) in the manual. Go forth and build lists responsibly, my love 🫢✨

πŸ“¦ where this page comes from