UI_utils.h
1/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
2 * See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
3 * Author(s): David Salinas
4 *
5 * Copyright (C) 2014 Inria
6 *
7 * Modification(s):
8 * - YYYY/MM Author: Description of the modification
9 */
10
11#ifndef UTILS_UI_UTILS_H_
12#define UTILS_UI_UTILS_H_
13
14#define UIDBG_VERBOSE
15
16#ifdef UIDBG_VERBOSE
17#define UIDBG(a) std::cerr << "UIDBG: " << (a) << std::endl
18#define UIDBGMSG(a, b) std::cerr << "UIDBG: " << a << b << std::endl
19#define UIDBGVALUE(a) std::cerr << "UIDBG: " << #a << ": " << a << std::endl
20#define UIDBGCONT(a) std::cerr << "UIDBG: container " << #a << " -> "; for (auto x : a) std::cerr << x << ","; std::cerr << std::endl }
21#else
22// #define DBG(a) a
23// #define DBGMSG(a, b) b
24// #define DBGVALUE(a) a
25// #define DBGCONT(a) a
26#define UIDBG(a)
27#define UIDBGMSG(a, b)
28#define UIDBGVALUE(a)
29#define UIDBGCONT(a)
30#endif
31
32#endif // UTILS_UI_UTILS_H_
GUDHIdev  Version 3.5.0  - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding.  - Copyright : MIT Generated on Tue Aug 16 2022 14:01:50 for GUDHIdev by Doxygen 1.9.4