Bifrost SDK
Bifrost SDK documentation
Utility functions

Dump this object as a string to the given stream. Useful for debugging. More...

Functions

template<typename OStream >
void Bifrost::Geometry::debugDump (OStream &os, Bifrost::Object const &object, size_t sampleSize=10)
 
void BIFROST_GEOMETRY_DECL Bifrost::Geometry::clearGeometryPrototypes ()
 clear internal geometry structures kept as prototypes More...
 

Detailed Description

Dump this object as a string to the given stream. Useful for debugging.

Template Parameters
OStreamGeneric output stream type. Supports write(const char*, size_t).
Parameters
osOutput stream to which the object is dumped.
objectThe object to dump.
sampleSizeMaximum number of elements in array data to dump out. Default is 10.

Utility functions

Function Documentation

◆ clearGeometryPrototypes()

void BIFROST_GEOMETRY_DECL Bifrost::Geometry::clearGeometryPrototypes ( )

clear internal geometry structures kept as prototypes

Geometry prototype object are kept as "constants" internally.

If one wants to clean them before terminating their program then one can call this function.

If it is called before the end of your program, then the next access to geometry prototypes will rebuild them.

◆ debugDump()

template<typename OStream >
void Bifrost::Geometry::debugDump ( OStream &  os,
Bifrost::Object const &  object,
size_t  sampleSize = 10 
)
inline

Definition at line 44 of file DebugDump.h.