ScXMLStringDataObj(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– 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 inherits SoBase. this is the whole reason runtime type checking and "downward" casting work, no cap.
  • ScXMLStringDataObj (const char *value) β€” the constructor, she takes a value.
  • void setString (const char *value) β€” sets the string to value.
  • 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 in str.

πŸ¦‹ 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 β€” returns TRUE if the type of this object is either the same type as type or inherited from type.

🌈 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 the SoType object 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 of initClass: 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