ScXML(3)

πŸ“¦ version 3.1.3, in fedora 43, fedora 44

πŸ’– ScXML(3) πŸ’–

okay bestie, so this one lives in the Library Functions Manual section of your man pages, and honestly? it's a whole vibe. it's the namespace page. let's get into it. πŸŽ€


✨ NAME ✨

ScXML β€” Namespace for static ScXML-related functions.

like, it's not a class you instantiate, it's a namespace, and it holds the static ScXML functions. that's the whole job. queen behavior. πŸ‘‘


🌸 SYNOPSIS 🌸

#include <Inventor/scxml/ScXML.h>

πŸ¦‹ Static Public Member Functions πŸ¦‹

static void initClasses (void)
static ScXMLStateMachine * readFile (const char *filename)
static ScXMLStateMachine * readBuffer (const char *bufferdata)

πŸ’… Detailed Description πŸ’…

Namespace for static ScXML-related functions.

fr fr, that's the tea: this is a static namespace class for ScXML-related functions. it's not giving "make an object and call methods on it", it's giving "just call these functions, they're static, we're all fine here." 🫢

Since: Coin 3.0 ⭐ (so she's been iconic since 3.0, no cap)


πŸŽ€ Member Function Documentation πŸŽ€

🌈 void ScXML::initClasses (void ) [static]

Initializes the basic ScXML classes. that's it, that's the function. it sets up the basic ScXML classes so everything else can do its thing. warm-up act energy, but make it essential. ✨

πŸ’œ ScXMLStateMachine * ScXML::readFile (const char * filename) [static]

This function reads in an SCXML document from a file. πŸ“„

Returns: an ScXMLDocument-derived statemachine object hierarchy. yes bestie, a whole hierarchy, it's giving tree structure main character. 🌳

πŸ“ ScXMLStateMachine * ScXML::readBuffer (const char * bufferdata) [static]

This function reads in an SCXML document residing in memory. like, the document isn't on disk, it's just... floating in memory, and she reads it anyway. iconic. 🧠✨

Returns: an ScXMLDocument-derived statemachine object hierarchy. same deal as above, hierarchy included, no extra charge. πŸ’–


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code.

(not me getting emotional over a Doxygen-generated author line 😭 it's literally doing its best and it ate.)


lowkey important reminder bestie: everything here is static namespace functions β€” you're not constructing a ScXML, you're calling into the namespace. don't be out here trying to new ScXML(), that's not the move. πŸ’€

and that's the whole page!! this came from Coin, Version 3.1.3, and the page is dated like a ScXML(3) should be. thanks for reading, mwah, go read some SCXML documents, slay. πŸ’…πŸ¦‹πŸŒˆ

πŸ“¦ where this page comes from