Version: 6.3.1
Functions | Variables

src/DSC/DSC_Basic/DSC_interface.cxx File Reference

#include <string>
#include "DSC_interface.hxx"
#include <sys/time.h>
#include <fstream>
#include <sys/stat.h>
#include <sstream>
#include <stdlib.h>
Include dependency graph for DSC_interface.cxx:

Functions

static void initTrace (const std::string &containerName)
 Initialize the trace file.

Variables

static int traceType = -1
static int traceLevel = -1
static std::ofstream traceFile
static std::ostream * out

Function Documentation

static void initTrace ( const std::string &  containerName) [static]

The trace file depends on an environment variable (DSC_TRACE). If this variable is equal to 1, the trace file is a file with the name : <TMPDIR>/<container name>="">.tce. In all other cases, the trace file is stderr The environment variable DSC_TRACELEVEL can be used to suppress the trace (value 0)

Parameters:
containerNamethe name of the container where the trace is built

References out, and traceFile.


Variable Documentation

int traceType = -1 [static]
int traceLevel = -1 [static]
std::ofstream traceFile [static]
std::ostream* out [static]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS