Structural deformable models
Main Page
Namespaces
Classes
Files
File List
File Members
src
common.h
Go to the documentation of this file.
1
/* -*- C++ -*- */
2
#ifndef _COMMON_H_
3
#define _COMMON_H_
4
5
#ifdef WIN32
6
#include <windows.h>
7
#endif
8
#include <assert.h>
9
#include "
simpletypes.h
"
10
#include "
types_fwd.h
"
11
#include <limits>
12
13
#ifndef NOTRACE
14
#define TRACE(msg) cerr << __FILE__ << ":" << __LINE__ << ": " << msg << endl
15
#define MSG(msg) std::cout << msg << std::endl;
16
#define DUMP(expr) std::cout << #expr << " = " << expr << std::endl
17
#define MARK(msg) std::cout << ">>>> " << msg << std::endl;
18
#define LINE() std::cout << "-----------------------" << std::endl
19
#else
20
#define TRACE(msg)
21
#define MSG(msg)
22
#define DUMP(expr)
23
#define MARK(msg)
24
#define LINE()
25
#endif
26
#define TRACE0 TRACE("")
27
28
#endif
simpletypes.h
types_fwd.h
Generated by
1.8.11