libbio
Loading...
Searching...
No Matches
Functions
bio::genetic::diagnostics Namespace Reference

Functions

bool BondDiagEnabled ()
 
void DiagBondVisitor (const chemical::Bond &bond, void *)
 
void DumpBonds (const char *tag, Pointer< physical::Wave > wave)
 
template<typename T >
void DumpResolution (const char *tag, Pointer< physical::Wave > wave)
 
void DumpRegistries (const char *tag)
 

Function Documentation

◆ BondDiagEnabled()

bool bio::genetic::diagnostics::BondDiagEnabled ( )
inline
Returns
true iff BIO_BOND_DIAG is set in the environment (cached once).

◆ DiagBondVisitor()

void bio::genetic::diagnostics::DiagBondVisitor ( const chemical::Bond bond,
void  
)
inline

ForEachBond visitor: prints one line per bond (id, type, bonded Wave*).

◆ DumpBonds()

void bio::genetic::diagnostics::DumpBonds ( const char tag,
Pointer< physical::Wave wave 
)
inline

Dump every bond id present on wave's Atom.

◆ DumpRegistries()

void bio::genetic::diagnostics::DumpRegistries ( const char tag)
inline

Dump the identity (address + used-id count) of the registries that govern bond resolution, plus the bond ids of the canonical install types and the list of every Plasmid the PlasmidPerspective has registered. A second, divergent address for any of these across the process is a multiply- instantiated-registry bug.

◆ DumpResolution()

template<typename T >
void bio::genetic::diagnostics::DumpResolution ( const char tag,
Pointer< physical::Wave wave 
)

For a Wave, dump the static bond id of T, whether As< T > resolves on this Wave's Atom, and the full bond-id list. T is the requested bonded type.