3.5.0-rc1
Loading...
Searching...
No Matches
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

namespace  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)
#define TRACE_POINT(variableName)
#define TRACE_POINT_OUTPUT_DIR(variableName, outputDir)

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)
Value:
TRACE_POINT(variableName##TracePoint); ::tigl::DebugScope variableName(variableName##TracePoint)
#define TRACE_POINT(variableName)
Definition Debugging.h:63
Definition Debugging.h:67

◆ TRACE_POINT

#define TRACE_POINT ( variableName)
Value:
TRACE_POINT_OUTPUT_DIR(variableName, std::string(tigl::TracePoint::debugDataDir() + "/") + __FUNCTION__)
#define TRACE_POINT_OUTPUT_DIR(variableName, outputDir)
Definition Debugging.h:60
static std::string debugDataDir()
Definition Debugging.h:46

◆ TRACE_POINT_OUTPUT_DIR

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