ScXMLHistoryElt(3)

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

πŸ’– ScXMLHistoryElt πŸ’–

okay bestie, we're in the Coin manual, section 3, and today's main character is ScXMLHistoryElt πŸŽ€


✨ NAME ✨

ScXMLHistoryElt β€” it implements the <history> SCXML element. that's the whole job description fr fr πŸ’…


🌸 SYNOPSIS 🌸

#include <Inventor/scxml/ScXMLHistoryElt.h>

Inherits ScXMLElt.

🫢 Public Member Functions

  • virtual SoType getTypeId (void) const β€” hands you the type identification of an object derived from a class inheriting SoBase. it's giving runtime type checking + "downward" casting energy ✨
  • virtual void setIdAttribute (const char *id) β€” sets the id attribute, no notes
  • const char * getIdAttribute (void) const β€” grabs the id attribute back
  • virtual void setTypeAttribute (const char *type) β€” sets the type attribute
  • const char * getTypeAttribute (void) const β€” reads the type attribute
  • virtual SbBool handleXMLAttributes (void) β€” handles the XML attributes
  • virtual void copyContents (const ScXMLElt *rhs) β€” copies contents over
  • virtual const ScXMLElt * search (const char *attrname, const char *attrvalue) const β€” searches for an element
  • virtual void setTransition (ScXMLTransitionElt *transition) β€” sets the transition
  • virtual ScXMLTransitionElt * getTransition (void) const β€” gets the transition

πŸ’œ 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. slay, polymorphism πŸ’…

⭐ 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 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. iconic behavior ngl
  • 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.

πŸ“ Protected Attributes

  • char * id
  • char * type

πŸŽ€ 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 <history> SCXML element. okay so that's the vibe.

🚨 bestie listen: the <history> element is not supported, other than as a dummy state. that's it. that's the whole situation. don't come for me, it's literally in the docs 😭

Since β€” Coin 3.0 ✨


πŸ’… Member Function Documentation πŸ’…

🌸 SoType ScXMLHistoryElt::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. periodt.

See also β€” SoBase::getTypeId() const

Implements ScXMLElt.

🌸 SbBool ScXMLHistoryElt::handleXMLAttributes (void ) [virtual]

This method is called when the file reader has set all the XML attributes on the object, and wants the object to handle them and report if the values were OK or if a read error should be produced. it's the vibe check for your attributes, basically 🫢

Returns β€” TRUE if the attributes are OK, and FALSE on error.

This base class implementation does nothing and just returns TRUE. lowkey the chillest implementation ever πŸ’€

Reimplemented from ScXMLElt.

🌸 void ScXMLHistoryElt::copyContents (const ScXMLElt * rhs) [virtual]

Reimplemented from ScXMLElt.

🌸 const ScXMLElt * ScXMLHistoryElt::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. detective mode πŸ”

Returns NULL if nothing was found. rip πŸͺ¦

This function needs to be reimplemented to traverse child elements.

Reimplemented from ScXMLElt.


πŸ’– Author πŸ’–

Generated automatically by Doxygen for Coin from the source code. yes, a robot wrote it, and it ate ✨


okay bestie that's the whole page, mwah πŸ’‹ Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's filed under ScXMLHistoryElt(3). go forth and slay πŸ¦‹πŸŽ€πŸ’œ

πŸ“¦ where this page comes from