ScXMLScriptElt(3)

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

πŸŽ€ 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 inherits SoBase. 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 β€” returns TRUE if 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 the SoType object 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 of initClass, 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