ScXMLEvaluator(3)

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

πŸ’– NAME πŸ’–

ScXMLEvaluator β€” okay so bestie, this one literally defines an interface for profile-dependent evaluators. That's it, that's the whole assignment. πŸ¦‹


✨ SYNOPSIS ✨

#include <Inventor/scxml/ScXMLEvaluator.h>

Inherits ScXMLObject.

Inherited by ScXMLCoinEvaluator, ScXMLECMAScriptEvaluator, ScXMLMinimumEvaluator, and ScXMLXPathEvaluator. A whole little family, no cap. πŸ‘‘

πŸŽ€ Public Member Functions

  • virtual SoType getTypeId (void) const =0 β€” hands you the type identification of an object derived from a class inheriting SoBase. This is what runtime type checking and downward"casting run on. Very demure, very mindful, very type-safe. ✨
  • virtual void setStateMachine (ScXMLStateMachine *sm) β€” override this one to do stuff when it gets installed on a state machine.
  • ScXMLStateMachine * getStateMachine (void) const β€” gives you back the state machine, obviously. πŸ’…
  • virtual ScXMLDataObj * evaluate (const char *expression) const =0 β€” pure virtual, so the derived girlies handle it.
  • virtual SbBool setAtLocation (const char *location, ScXMLDataObj *obj)=0 β€” also pure virtual, also somebody else's problem. πŸ™ˆ
  • virtual ScXMLDataObj * locate (const char *location) const =0 β€” you guessed it: pure virtual.
  • virtual void clearTemporaryVariables (void) β€” does the clearing thing, more on that below. 🧚

🫢 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. So like, are you her or are you one of her ancestors. 🌸

⭐ Static Public Member Functions

  • 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. The classic 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. Packing it all up, putting it back in the box. πŸ“¦

🌈 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 🌸

It defines an interface for profile-dependent evaluators. That's the entire plot. 🎬

Since: Coin 3.1 β€” she's been iconic for a minute. ⏳


πŸ’… MEMBER FUNCTION DOCUMENTATION πŸ’…

πŸ¦‹ virtual SoType ScXMLEvaluator::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. iykyk. πŸ”

See also: SoBase::getTypeId() const

Implements ScXMLObject.

Implemented in ScXMLCoinEvaluator, ScXMLECMAScriptEvaluator, ScXMLMinimumEvaluator, and ScXMLXPathEvaluator.

πŸŽ€ void ScXMLEvaluator::setStateMachine (ScXMLStateMachine * sm) [virtual]

Override this to perform actions when installed on a state machine. Like a little welcome party when you move in. πŸ πŸŽ‰

Reimplemented in ScXMLCoinEvaluator, and ScXMLMinimumEvaluator.

✨ virtual ScXMLDataObj * ScXMLEvaluator::evaluate (const char * expression) const [pure virtual]

Implemented in ScXMLMinimumEvaluator.

🫢 virtual SbBool ScXMLEvaluator::setAtLocation (const char * location, ScXMLDataObj * obj) [pure virtual]

Implemented in ScXMLMinimumEvaluator.

🌟 virtual ScXMLDataObj * ScXMLEvaluator::locate (const char * location) const [pure virtual]

Implemented in ScXMLMinimumEvaluator.

🧚 void ScXMLEvaluator::clearTemporaryVariables (void ) [virtual]

Does nothing β€” overridden in derived classes. Not her job, she's just the blueprint bestie. πŸ’€

The intention of this function is to clear out temporary variables that have the scope of only one event being processed by the scxml state machine. One event, one little cleanup moment, then they're gone. 🧹✨

Reimplemented in ScXMLCoinEvaluator, and ScXMLMinimumEvaluator.


πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. Not a human, not a girlie, just a robot doing its lil thing. πŸ€–πŸ’–


That's the whole page, bestie. Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's the ScXMLEvaluator(3) manual page, Coin edition. Go forth and evaluate responsibly. πŸ’…βœ¨πŸ¦‹
πŸ“¦ where this page comes from