ScXMLHistoryElt(3)
π 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 inheritingSoBase. it's giving runtime type checking + "downward" casting energy β¨virtual void setIdAttribute (const char *id)β sets the id attribute, no notesconst char * getIdAttribute (void) constβ grabs the id attribute backvirtual void setTypeAttribute (const char *type)β sets the type attributeconst char * getTypeAttribute (void) constβ reads the type attributevirtual SbBool handleXMLAttributes (void)β handles the XML attributesvirtual void copyContents (const ScXMLElt *rhs)β copies contents overvirtual const ScXMLElt * search (const char *attrname, const char *attrvalue) constβ searches for an elementvirtual void setTransition (ScXMLTransitionElt *transition)β sets the transitionvirtual 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) constScXMLElt * clone (void) constvirtual void setContainer (ScXMLElt *container)ScXMLElt * getContainer (void) constSbBool isContainedIn (const ScXMLElt *object) const
π 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. 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 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. iconic behavior nglstatic 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.
π Protected Attributes
char * idchar * 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
- 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