ScXMLAnchorElt(3)
π NAME π
okay so bestie, this is ScXMLAnchorElt β a Coin manual page, third section of the manual, and it's the class that implements the <anchor> SCXML element β¨
πΈ SYNOPSIS πΈ
#include <Inventor/scxml/ScXMLAnchorElt.h>
Inherits ScXMLElt π
π«Ά Public Member Functions π«Ά
virtual SoType getTypeId (void) constβ Returns the type identification of an object derived from a class inheritingSoBase. This is used for runtime type checking and "downward"casting. πvirtual void setTypeAttribute (const char *type)const char * getTypeAttribute (void) constvirtual void setSnapshotAttribute (const char *snapshot)const char * getSnapshotAttribute (void) constvirtual SbBool handleXMLAttributes (void)virtual void copyContents (const ScXMLElt *rhs)virtual const ScXMLElt * search (const char *attrname, const char *attrvalue) const
π 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.
β¨ 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.
π₯ Protected Attributes π₯
char * typechar * snapshot
π 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 <anchor> SCXML element. periodt π
lowkey important: the <anchor> element is not supported yet other than as a dummy state. so likeβ¦ it exists, it's cute, it's a placeholder, don't expect it to do the whole thing. π
Since
Coin 3.0 β
π Member Function Documentation π
SoType ScXMLAnchorElt::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.
SbBool ScXMLAnchorElt::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.
Reimplemented from ScXMLElt.
void ScXMLAnchorElt::copyContents (const ScXMLElt * rhs) [virtual]
Reimplemented from ScXMLElt.
const ScXMLElt * ScXMLAnchorElt::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 ScXMLElt.
πΈ Author πΈ
Generated automatically by Doxygen for Coin from the source code.
and that's the whole page bestie, no cap πβ¨π this lil doc is Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it lives at ScXMLAnchorElt(3) β mwah, iconic, go read it again π¦π
π¦ 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