SoDebug(3)
β¨ 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
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms