ScXMLAbstractStateElt(3)
π ScXMLAbstractStateElt(3) π
okay bestie, welcome to the Coin manual, section 3, and today's main character is ScXMLAbstractStateElt β she's abstract, she's a base class, and she is literally the blueprint for the SCXML state elements. π
β¨ NAME β¨
ScXMLAbstractStateElt β abstract base class for the SCXML state elements.
π¦ SYNOPSIS π¦
#include <Inventor/scxml/ScXMLAbstractStateElt>
Inherits ScXMLElt.
Inherited by ScXMLFinalElt, ScXMLParallelElt, and ScXMLStateElt. (yes she has three daughters and they're all iconic π
)
πΈ Public Member Functions πΈ
virtual SoType getTypeId (void) const =0β returns the type identification of an object derived from a class inheritingSoBase. This is used for runtime type checking and downward"casting.virtual void setIdAttribute (const char *id)β sets theidattribute, no cap.const char * getIdAttribute (void) constβ hands you back theidattribute.virtual SbBool handleXMLAttributes (void)β checks the XML attributes, more on her below πvirtual void copyContents (const ScXMLElt *rhs)β copies contents over fromrhs.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 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. so basically "are you her or are you her descendant, bestie" π
β Static Public Member Functions β
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. it's giving "we don't talk anymore" π
π Protected Attributes π
char * id
π 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 π
abstract base class for the SCXML state elements.
Since
Coin 3.1 β she's been that girl since 3.1, periodt. β¨
π Member Function Documentation π
π¦ virtual SoType ScXMLAbstractStateElt::getTypeId (void ) const [pure 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 ScXMLElt.
Implemented in ScXMLFinalElt, ScXMLParallelElt, and ScXMLStateElt. (the three heiresses, as established π)
πΈ SbBool ScXMLAbstractStateElt::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.
Returns
TRUE if the attributes are OK, and FALSE on error.
This base class implementation does nothing and just returns TRUE. literally the chillest base class alive, she's just vibing π
Reimplemented from ScXMLElt.
Reimplemented in ScXMLParallelElt, and ScXMLStateElt.
π void ScXMLAbstractStateElt::copyContents (const ScXMLElt * rhs) [virtual]
Reimplemented from ScXMLElt.
β const ScXMLElt * ScXMLAbstractStateElt::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. (ghosted fr π)
This function needs to be reimplemented to traverse child elements.
Reimplemented from ScXMLElt.
Reimplemented in ScXMLFinalElt, ScXMLParallelElt, and ScXMLStateElt.
π«Ά Author π«Ά
Generated automatically by Doxygen for Coin from the source code. (not me writing my own autobiography, Doxygen did that π)
sign-off time, bestie π this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and you were reading the ScXMLAbstractStateElt(3) page the whole time. slay, no cap, go forth and handle those XML attributes. π
β¨πΈ
π¦ 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