SoActionMethodList(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– SoActionMethodList(3) πŸ’–

okay bestie, welcome to the Coin manual, and today's main character is SoActionMethodList β€” it's a 3 page, so you know it's a library girlie. sit down, hydrate, let's get into it 🫢


✨ NAME ✨

SoActionMethodList β€” the class that's literally just holding function pointers for action methods. no cap, that's the whole job. πŸ’…


🌸 SYNOPSIS 🌸

#include <Inventor/lists/SoActionMethodList.h>

Inherits SbPList. yes queen, she comes from a whole lineage. πŸ‘‘

πŸŽ€ Public Member Functions πŸŽ€

SoActionMethodList (SoActionMethodList *const parentlist)
~SoActionMethodList ()
SoActionMethod & operator[] (const int index)
void addMethod (const SoType node, const SoActionMethod method)
void setUp (void)

πŸ¦‹ Public Member Functions inherited from SbPList πŸ¦‹

like, everything she got from her parent list, respectfully:

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 (const 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. The SoActionMethodList class contains function pointers for action methods. that's the vibe. ✨

An SoActionMethodList contains one function pointer per node type. and each action contains an SoActioMethodList to know which functions to call during scene graph traversal. (yes, that's spelled exactly like that in the original, SoActioMethodList β€” we don't fix, we don't touch, we preserve 🫑)


🧚 Constructor & Destructor Documentation 🧚

πŸ“ SoActionMethodList::SoActionMethodList (SoActionMethodList *const parentlist)

The constructor, bestie. the parentlist argument is the parent action's action method list. and it can be NULL for action method lists that are not based on inheriting from a parent action. so like, she can be a lone wolf if she wants. 🐺

πŸŽ€ SoActionMethodList::~SoActionMethodList ()

Destructor. she's leaving, say bye. 😭


πŸ’… Member Function Documentation πŸ’…

⭐ SoActionMethod & SoActionMethodList::operator[] (const int index)

Returns the element at index. simple, iconic.

Will automatically expand the size of the internal array if index is outside the current bounds of the list. and the values of any additional pointers are then set to NULL. growth mindset fr fr 🌱

Overloaded from parent to return an SoActionMethod.

See also: SbPList::operator[]()

πŸ”₯ void SoActionMethodList::addMethod (const SoType node, const SoActionMethod method)

Add a function pointer to a node type's action method. that's it, that's the function. adding. slay.

πŸ‘‘ void SoActionMethodList::setUp (void )

This method must be called as the last initialization step before using the list. it's the final boss, the closing number, the last step before the show. don't skip it πŸ’€

It fills in NULL entries with the parent's method. so all those empty spots get adopted by the parent. found family trope, honestly πŸ₯Ή


🫢 Author 🫢

Generated automatically by Doxygen for Coin from the source code. the robots did this one, we just gave it ✨flavor✨


and that's the whole page, bestie!! πŸ’– this is Coin documentation, Version 4.0.10, dated Thu Jun 25 2026 00:00:00 β€” so mark your calendar, screenshot it, put it in the group chat, periodt. πŸŽ€πŸ’…βœ¨

πŸ“¦ where this page comes from