.TH "SoActionMethodList" 3 "Tue Jun 23 2026 23:48:38" "Version 4.0.10" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoActionMethodList \- The \fBSoActionMethodList\fP class contains function pointers for action methods\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits \fBSbPList\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBSoActionMethodList\fP (\fBSoActionMethodList\fP *const parentlist)" .br .ti -1c .RI "\fB~SoActionMethodList\fP ()" .br .ti -1c .RI "SoActionMethod & \fBoperator[]\fP (const int index)" .br .ti -1c .RI "void \fBaddMethod\fP (const \fBSoType\fP node, const SoActionMethod method)" .br .ti -1c .RI "void \fBsetUp\fP (void)" .br .in -1c Public Member Functions inherited from \fBSbPList\fP .in +1c .ti -1c .RI "\fBSbPList\fP (const int sizehint=DEFAULTSIZE)" .br .ti -1c .RI "\fBSbPList\fP (const \fBSbPList\fP &l)" .br .ti -1c .RI "\fB~SbPList\fP ()" .br .ti -1c .RI "void \fBcopy\fP (const \fBSbPList\fP &l)" .br .ti -1c .RI "\fBSbPList\fP & \fBoperator=\fP (const \fBSbPList\fP &l)" .br .ti -1c .RI "void \fBfit\fP (void)" .br .ti -1c .RI "void \fBappend\fP (void *item)" .br .ti -1c .RI "int \fBfind\fP (const void *item) const" .br .ti -1c .RI "void \fBinsert\fP (void *item, const int insertbefore)" .br .ti -1c .RI "void \fBremoveItem\fP (void *item)" .br .ti -1c .RI "void \fBremove\fP (const int index)" .br .ti -1c .RI "void \fBremoveFast\fP (const int index)" .br .ti -1c .RI "int \fBgetLength\fP (void) const" .br .ti -1c .RI "void \fBtruncate\fP (const int length, const int \fBfit\fP=0)" .br .ti -1c .RI "void ** \fBgetArrayPtr\fP (const int start=0) const" .br .ti -1c .RI "void *& \fBoperator[]\fP (const int index) const" .br .ti -1c .RI "int \fBoperator==\fP (const \fBSbPList\fP &l) const" .br .ti -1c .RI "int \fBoperator!=\fP (const \fBSbPList\fP &l) const" .br .ti -1c .RI "void * \fBget\fP (const int index) const" .br .ti -1c .RI "void \fBset\fP (const int index, void *item)" .br .in -1c .SS "Additional Inherited Members" Protected Member Functions inherited from \fBSbPList\fP .in +1c .ti -1c .RI "void \fBexpand\fP (const int size)" .br .ti -1c .RI "int \fBgetArraySize\fP (void) const" .br .in -1c .SH "Detailed Description" .PP The \fBSoActionMethodList\fP class contains function pointers for action methods\&. An \fBSoActionMethodList\fP contains one function pointer per node type\&. Each action contains an SoActioMethodList to know which functions to call during scene graph traversal\&. .SH "Constructor & Destructor Documentation" .PP .SS "SoActionMethodList::SoActionMethodList (\fBSoActionMethodList\fP *const parentlist)" The constructor\&. The \fIparentlist\fP argument is the parent action's action method list\&. It can be \fRNULL\fP for action method lists that are not based on inheriting from a parent action\&. .SS "SoActionMethodList::~SoActionMethodList ()" Destructor\&. .SH "Member Function Documentation" .PP .SS "SoActionMethod & SoActionMethodList::operator[] (const int index)" Returns element at \fIindex\fP\&. .PP Will automatically expand the size of the internal array if \fIindex\fP is outside the current bounds of the list\&. The values of any additional pointers are then set to \fRNULL\fP\&. .PP Overloaded from parent to return an SoActionMethod\&. .PP \fBSee also\fP .RS 4 \fBSbPList::operator[]()\fP .RE .PP .SS "void SoActionMethodList::addMethod (const \fBSoType\fP node, const SoActionMethod method)" Add a function pointer to a node type's action method\&. .SS "void SoActionMethodList::setUp (void )" This method must be called as the last initialization step before using the list\&. It fills in \fRNULL\fP entries with the parent's method\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.