ScXMLInitialElt(3)
π NAME π
ScXMLInitialElt β bestie, this is the class that implements the <initial> SCXML element. That's it, that's the whole job. β¨
This page lives in the Coin manual, section 3 (library functions), and we're gonna get you so fluent in it.
π SYNOPSIS π
#include <Inventor/scxml/ScXMLInitialElt.h>
Inherits ScXMLElt. π
π Public Member Functions π
virtual SoType getTypeId (void) constβ hands you back the type identification of an object derived from a class inheritingSoBase. This is the thing that makes runtime type checking and "downward" casting possible.virtual void copyContents (const ScXMLElt *rhs)β copies the contents.virtual const ScXMLElt * search (const char *attrname, const char *attrvalue) constβ searches.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) constvirtual SbBool handleXMLAttributes (void)ScXMLElt * 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. no cap.
β¨ 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.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.
π¦ 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 π¦
Okay so this class implements the <initial> SCXML element. Periodt. π
An <initial> element has no attributes, and it should contain one conditionless <transition> element with a target attribute that identifies a descendant state element of the parent state element. Like, one. Exactly one. Conditionless. Don't get cute with it. π
Since
Coin 3.0 β yes she's been iconic since 3.0, we love a legacy queen. π
π₯ MEMBER FUNCTION DOCUMENTATION π₯
β SoType ScXMLInitialElt::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 ScXMLElt.
β void ScXMLInitialElt::copyContents (const ScXMLElt * rhs) [virtual] β
Reimplemented from ScXMLElt.
β const ScXMLElt * ScXMLInitialElt::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. (nothing found = the search ate and left no crumbs, but like, emptily π)
This function needs to be reimplemented to traverse child elements.
Reimplemented from ScXMLElt.
πΈ AUTHOR πΈ
Generated automatically by Doxygen for Coin from the source code. (The Doxygen girlies wrote it, not me β I'm just the messenger π«Ά)
okay bestie, that's the whole page, you officially know ScXMLInitialElt now and I'm so proud of you πβ¨
This has been Coin Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and you were reading ScXMLInitialElt(3). Slay, go write some SCXML. πππ
π¦ 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