ScXMLConstantDataObj(3)

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

πŸ’– ScXMLConstantDataObj(3) πŸ’–

okay bestie, welcome to the ScXMLConstantDataObj page from the Coin manual (section 3, library functions, iykyk). this is the blueprint class, the main character template, for immediate data values ✨


🌸 NAME 🌸

ScXMLConstantDataObj β€” the base class for immediate data values. that's it, that's the vibe πŸ’…


✨ SYNOPSIS ✨

#include <Inventor/scxmlScXMLEvaluator.h>

Inherits ScXMLDataObj.

Inherited by ScXMLBoolDataObj, ScXMLRealDataObj, ScXMLSbDataObj, and ScXMLStringDataObj. so like, it's the mom of a whole little friend group 🫢

πŸ‘‘ Public Member Functions

  • virtual SoType getTypeId (void) const =0 β€” hands you the type identification of an object derived from a class that inherits SoBase. it's for runtime type checking and "downward"casting. pure virtual, so it's giving "you WILL implement me" energy 😀
  • virtual ScXMLDataObj * clone (void) const =0 β€” also pure virtual, no notes, just do it πŸ’–
  • virtual void convertToString (SbString &str) const =0 β€” yep, pure virtual too. turn yourself into a string, bestie ✨

Public Member Functions inherited from ScXMLDataObj

  • void setContainer (ScXMLObject *container)
  • ScXMLObject * getContainer (void) const

Public Member Functions inherited from ScXMLObject

  • SbBool isOfType (SoType type) const β€” returns TRUE if the type of this object is either of the same type or inherited from type. basically a "are we fam?" check 🌈

⭐ Static Public Member Functions

  • 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 necessary information to the Coin type system. it's the "getting ready" montage πŸ’„
  • static void cleanClass (void) β€” does the opposite of initClass, deallocates any class specific resources and resets the class to an uninitialized state with respect to the Coin type system. the pack-up-and-go-home moment 🧹

πŸ¦‹ 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)

πŸ’œ DETAILED DESCRIPTION πŸ’œ

base class for immediate data values. short, sweet, iconic, no cap πŸ’…

Since β€” Coin 3.1. baby's been around a minute and she ate πŸ”₯


πŸŽ€ MEMBER FUNCTION DOCUMENTATION πŸŽ€

virtual SoType ScXMLConstantDataObj::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. yes she's pure virtual, she's that girl, she will not do the work for you πŸ™ˆ

See also β€” SoBase::getTypeId() const

Implements β€” ScXMLDataObj.

Implemented in β€” ScXMLBoolDataObj, ScXMLRealDataObj, ScXMLSbDataObj, and ScXMLStringDataObj. the whole squad showed up 🌸


🫢 AUTHOR 🫢

Generated automatically by Doxygen for Coin from the source code. not a human author, just a robot doing its lil thing πŸ€–βœ¨


ngl bestie, this class is a base class β€” she's the blueprint, not the finished fit. all those =0 pure virtuals mean her subclasses HAVE to bring their own implementations. no skipping, no shortcuts, periodt πŸ’…

okay that's the whole page, hope it slayed πŸ’–


Version 4.0.10 β€” dated Thu Jun 25 2026 00:00:00 β€” and that's a wrap on ScXMLConstantDataObj(3), mwah πŸŽ€

πŸ“¦ where this page comes from