ScXMLScriptElt(3)
π ScXMLScriptElt β NAME π
okay bestie, say hi to ScXMLScriptElt, the class that implements the <script> SCXML element. it lives in section 3 of the Coin manual, so if you were looking for the library function vibes, you're in the right place π
β¨ SYNOPSIS β¨
#include <Inventor/scxml/ScXMLScriptElt.h>
Inherits ScXMLExecutableElt.
π Public Member Functions
virtual SoType getTypeId (void) constβ hands you the type identification of an object derived from a class that inheritsSoBase. this is the whole reason runtime type checking and "downward" casting work, so likeβ¦ lowkey essential π«Άvirtual void copyContents (const ScXMLElt *rhs)β copies the contents over from rhs.virtual void execute (ScXMLStateMachine *statemachine) constβ runs the thing, with statemachine as the state machine doing the running.
Public Member Functions inherited from ScXMLElt
void setXMLAttribute (const char *attribute, const char *value)β sets an XML attribute to a value.const char * getXMLAttribute (const char *attribute) constβ grabs the value of an XML attribute.virtual SbBool handleXMLAttributes (void)β deals with the XML attributes.virtual const ScXMLElt * search (const char *attrname, const char *attrvalue) constβ searches for something matching attrname / attrvalue.ScXMLElt * clone (void) constβ clones it. fresh copy, no cap.virtual void setContainer (ScXMLElt *container)β sets the container.ScXMLElt * getContainer (void) constβ gets the container.SbBool isContainedIn (const ScXMLElt *object) constβ tells you if it's contained in object.
Public Member Functions inherited from ScXMLObject
SbBool isOfType (SoType type) constβ returnsTRUEif the type of this object is either of the same type or inherited from type. literally the vibe check for class hierarchies β¨
π Static Public Member Functions
static ScXMLEltReader * getElementReader (void)β returns the element reader.static SoType getClassTypeId (void)β returns the class type id.static void * createInstance (void)β makes an instance.static void initClass (void)β initializes the class.static void cleanClass (void)β cleans the class up.
Static Public Member Functions inherited from ScXMLExecutableElt
static SoType getClassTypeId (void)static void initClass (void)static void cleanClass (void)
Static Public Member Functions inherited from ScXMLElt
static SoType getClassTypeId (void)static void initClass (void)static void cleanClass (void)
Static Public Member Functions inherited from ScXMLObject
static SoType getClassTypeId (void)β this static method returns theSoTypeobject associated with objects of this class.static void initClass (void)β sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.static void cleanClass (void)β does the opposite ofinitClass, deallocates any class specific resources and resets the class to an uninitialized state with respect to the Coin type system.
π Additional Inherited Members
Static Protected Member Functions inherited from ScXMLElt
static void registerClassType (const char *xmlns, const char *classname, SoType type)static void registerInvokeClassType (const char *xmlns, const char *targettype, const char *source, SoType type)
Static Protected Member Functions inherited from ScXMLObject
static void registerClassType (const char *xmlns, const char *classname, SoType type)static void registerInvokeClassType (const char *xmlns, const char *targettype, const char *source, SoType type)
πΈ Detailed Description πΈ
implements the <script> SCXML element. that's the whole plot, bestie π¦
Since
Coin 3.1
π Member Function Documentation π
β SoType ScXMLScriptElt::getTypeId (void ) const [virtual]
Returns the type identification of an object derived from a class inheriting SoBase. This is used for runtime type checking and "downward" casting.
See also
SoBase::getTypeId() const
Implements ScXMLExecutableElt.
β void ScXMLScriptElt::copyContents (const ScXMLElt * rhs) [virtual]
Reimplemented from ScXMLExecutableElt.
β void ScXMLScriptElt::execute (ScXMLStateMachine * statemachine) const [virtual]
Reimplemented from ScXMLExecutableElt.
π Author π
Generated automatically by Doxygen for Coin from the source code. the robots did the typing, we just added the sparkle π
okay so that's the whole page, and ngl it ate. Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and yes this is ScXMLScriptElt(3) β periodt πβ¨π
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms