ScXMLStringDataObj(3)
π ScXMLStringDataObj(3) π
okay so bestie, welcome to the Coin manual, section 3, and today's main character is ScXMLStringDataObj β¨ she's a lil XML data object that just... holds a string. that's her whole thing. and she ATE. π
πΈ NAME πΈ
ScXMLStringDataObj β the string-holding data object, periodt.
β¨ SYNOPSIS β¨
she inherits from ScXMLConstantDataObj, iykyk.
Inherits ScXMLConstantDataObj.
π Public Member Functions π
virtual SoType getTypeId (void) constβ gives you back the type identification of an object derived from a class that inheritsSoBase. this is the whole reason runtime type checking and "downward" casting work, no cap.ScXMLStringDataObj (const char *value)β the constructor, she takes avalue.void setString (const char *value)β sets the string tovalue.const char * getString (void) constβ hands you back the string.virtual ScXMLDataObj * clone (void) constβ clones her.virtual void convertToString (SbString &str) constβ converts her into a string over instr.
π¦ Public Member Functions inherited from ScXMLDataObj π¦
void setContainer (ScXMLObject *container)β sets the container.ScXMLObject * getContainer (void) constβ gets the container.
π Public Member Functions inherited from ScXMLObject π
SbBool isOfType (SoType type) constβ returnsTRUEif the type of this object is either the same type astypeor inherited fromtype.
π Static Public Member Functions π
static SoType getClassTypeId (void)static void * createInstance (void)static void initClass (void)static void cleanClass (void)static ScXMLDataObj * createFor (const char *value)
β Static Public Member Functions inherited from ScXMLConstantDataObj β
static SoType getClassTypeId (void)static void initClass (void)static void cleanClass (void)
π Static Public Member Functions inherited from ScXMLDataObj π
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 the necessary info to the Coin type system.static void cleanClass (void)β does the literal 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 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)
π Member Function Documentation π
π« SoType ScXMLStringDataObj::getTypeId (void ) const [virtual] π«
returns the type identification of an object derived from a class that inherits SoBase. this is what makes runtime type checking and "downward" casting happen, fr fr.
See also: SoBase::getTypeId() const
implements ScXMLConstantDataObj. slay.
π« ScXMLDataObj * ScXMLStringDataObj::clone (void ) const [virtual] π«
implements ScXMLConstantDataObj.
π« void ScXMLStringDataObj::convertToString (SbString & str) const [virtual] π«
implements ScXMLConstantDataObj.
π Author π
generated automatically by Doxygen for Coin, straight from the source code. iconic behaviour honestly.
and that's the whole page bestie π go forth and cast your types.
Version 4.0.10 Β· Thu Jun 25 2026 00:00:00 Β· ScXMLStringDataObj(3) β k bye, love u, don't forget to cleanClass on your way out π
β¨
π¦ 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