3.4.0
Debugging.h File Reference
#include <boost/atomic.hpp>
#include <string>
#include <map>
#include <Geom_Curve.hxx>

Data Structures

class  tigl::DebugScope
 
class  tigl::TracePoint
 

Namespaces

 tigl
 The CTiglShapeCache class acts as a storage for all kinds of intermediate shape results in order to improve speed of reoccurent calculations.
 

Macros

#define DEBUG_SCOPE(variableName)   TRACE_POINT(variableName##TracePoint); ::tigl::DebugScope variableName(variableName##TracePoint)
 
#define TRACE_POINT(variableName)   TRACE_POINT_OUTPUT_DIR(variableName, std::string(tigl::TracePoint::debugDataDir() + "/") + __FUNCTION__)
 
#define TRACE_POINT_OUTPUT_DIR(variableName, outputDir)   static ::tigl::TracePoint variableName(outputDir); variableName++
 

Functions

void tigl::dumpShape (const TopoDS_Shape &shape, const std::string &outputDir, const std::string &filename, int counter=-1)
 

Macro Definition Documentation

◆ DEBUG_SCOPE

#define DEBUG_SCOPE (   variableName)    TRACE_POINT(variableName##TracePoint); ::tigl::DebugScope variableName(variableName##TracePoint)

◆ TRACE_POINT

#define TRACE_POINT (   variableName)    TRACE_POINT_OUTPUT_DIR(variableName, std::string(tigl::TracePoint::debugDataDir() + "/") + __FUNCTION__)

◆ TRACE_POINT_OUTPUT_DIR

#define TRACE_POINT_OUTPUT_DIR (   variableName,
  outputDir 
)    static ::tigl::TracePoint variableName(outputDir); variableName++