SoDebug(3)

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

✨ NAME ✨

SoDebug β€” it's a whole class, bestie, and it lives in SoDebug(3) in the Library Functions Manual πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

#include <SoDebug.h>

🌸 Static Public Member Functions 🌸

okay so here's the full roster, no cap:

static const char * GetEnv (const char *var)
static void RTPrintf (const char *formatstr,...)
static void NamePtr (const char *name, void *ptr)
static const char * PtrName (void *ptr)
static void write (SoNode *node)
static void writeToFile (SoNode *node, const char *filename)
static void writeField (SoField *field)
static void printName (SoBase *base)

πŸ’« Detailed Description πŸ’«

The SoDebug class is a small collection of debugging-related functions.

like… it's giving "utility drawer full of helpful little guys" 🫢 nothing dramatic, just debugging helpers doing their thing.


πŸ‘‘ Member Function Documentation πŸ‘‘

⭐ const char * SoDebug::GetEnv (const char * var) [static]

This is a portable getenv-wrapper. lowkey iconic, it just wraps it so it works everywhere πŸ’…

See also

  • coin_getenv()

πŸ”₯ void SoDebug::RTPrintf (const char * formatstr, ...) [static]

Real-time printf designed for use when use of standard printf() would cause timing problems.

NOT IMPLEMENTED. Currently it just forwards to printf(). so bestie… it's not doing the real-time thing yet, it's just passing the vibes along 😭

πŸ¦‹ void SoDebug::NamePtr (const char * name, void * ptr) [static]

Associate a name with an arbitrary pointer. You can fetch the name of the pointer later with PtrName().

See also

  • PtrName()

🌈 const char * SoDebug::PtrName (void * ptr) [static]

Returns the name set on a pointer with NamePtr(). If no name has been set, "<unnamed>" is returned.

See also

  • NamePtr()

πŸ’œ void SoDebug::write (SoNode * node) [static]

Writes the node to stdout.

References SoAction::apply(), SoNode::getNodeType(), SoBase::ref(), SoOutput::setHeaderString(), SoBase::unrefNoDelete(), and SoNode::VRML2.


🌸 void SoDebug::writeToFile (SoNode * node, const char * filename) [static]

Writes the node to the given filename, or /tmp/debug.iv if filename is NULL.

References SoAction::apply(), SoOutput::closeFile(), SoNode::getNodeType(), SoOutput::openFile(), SoBase::ref(), SoOutput::setHeaderString(), SoBase::unrefNoDelete(), and SoNode::VRML2.


πŸ“ void SoDebug::writeField (SoField * field) [static]

Not implemented.

References SoField::getContainer(), SoFieldContainer::getFieldName(), and SoField::write().


🧚 void SoDebug::printName (SoBase * base) [static]

Not implemented.

References SoBase::getName(), and SbName::getString().


πŸ’– Author πŸ’–

Generated automatically by Doxygen for Coin from the source code.


and that's the whole page, bestie ✨ this one was generated automatically by Doxygen for Coin straight from the source code β€” Version 2.5.0 energy, dated right there with SoDebug(3) in the footer. slay πŸ’…πŸ«Ά

πŸ“¦ where this page comes from