ScXMLFinalElt(3)

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

πŸ’– ScXMLFinalElt(3) β€” the Coin manual page, but make it make sense πŸ’–

okay bestie, welcome to the ScXMLFinalElt page from the Coin manual. yes it's a C++ class page, no it's not scary, we're gonna get through it together. grab a boba. πŸ§‹βœ¨


🌸 NAME 🌸

ScXMLFinalElt β€” she implements the <final> SCXML element. that's it, that's the whole job. iconic behavior honestly. πŸ‘‘


✨ SYNOPSIS ✨

#include <Inventor/scxml/ScXMLFinalElt.h>

Inherits ScXMLAbstractStateElt.


πŸ¦‹ Public Member Functions πŸ¦‹

  • virtual SoType getTypeId (void) const β€” hands you back the type identification of an object derived from a class inheriting SoBase. it's the runtime type-checking + "downward"-casting girlie. (yes the original says downward"casting, we are keeping that quote mark, no notes πŸ’€)
  • virtual void setOnEntry (ScXMLOnEntryElt *onentry) β€” sets the <onentry> child.
  • virtual ScXMLOnEntryElt * getOnEntry (void) const β€” gets the <onentry> child back out.
  • virtual void setOnExit (ScXMLOnExitElt *onexit) β€” sets the <onexit> child.
  • virtual ScXMLOnExitElt * getOnExit (void) const β€” gets the <onexit> child back out.
  • virtual void copyContents (const ScXMLElt *rhs) β€” copies the contents over.
  • virtual const ScXMLElt * search (const char *attrname, const char *attrvalue) const β€” searches the SCXML structure for an element with the given attribute value for the given attribute.

πŸ’… Public Member Functions inherited from ScXMLAbstractStateElt

  • virtual void setIdAttribute (const char *id)
  • const char * getIdAttribute (void) const
  • virtual SbBool handleXMLAttributes (void)

πŸ’œ Public Member Functions inherited from ScXMLElt

  • void setXMLAttribute (const char *attribute, const char *value)
  • const char * getXMLAttribute (const char *attribute) const
  • ScXMLElt * clone (void) const
  • virtual void setContainer (ScXMLElt *container)
  • ScXMLElt * getContainer (void) const
  • SbBool isContainedIn (const ScXMLElt *object) const

🌈 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.

⭐ Static Public Member Functions ⭐

  • static ScXMLEltReader * getElementReader (void)
  • static SoType getClassTypeId (void)
  • static void * createInstance (void)
  • static void initClass (void)
  • static void cleanClass (void)

πŸŽ€ Static Public Member Functions inherited from ScXMLAbstractStateElt

  • 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)

πŸ™ˆ Protected Attributes inherited from ScXMLAbstractStateElt

  • char * id

πŸ‘‘ Detailed Description πŸ‘‘

implements the <final> SCXML element.

a <final> element takes an "id" attribute (which is required, no skipping bestie), and can have one child of type <onentry> and <onexit>.

Since

Coin 3.0


πŸ’€ Member Function Documentation πŸ’€

πŸ’… SoType ScXMLFinalElt::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 ScXMLAbstractStateElt.


πŸ’… void ScXMLFinalElt::copyContents (const ScXMLElt * rhs) [virtual]

Reimplemented from ScXMLAbstractStateElt.


πŸ’… const ScXMLElt * ScXMLFinalElt::search (const char * attrname, const char * attrvalue) const [virtual]

This method searches the SCXML structure for an element with the given attribute value for the given attribute.

Returns NULL if nothing was found.

This function needs to be reimplemented to traverse child elements.

Reimplemented from ScXMLAbstractStateElt.


🧚 Author 🧚

Generated automatically by Doxygen for Coin from the source code.

fr fr, nobody hand-wrote this, Doxygen did it. we're just here to make it cute. ✨

and that's the whole page bestie, no cap, every option and every inherited member accounted for. 🫢

Version 4.0.10 Β· Thu Jun 25 2026 00:00:00 Β· ScXMLFinalElt(3) β€” mwah, slay, go compile something. πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from