📄 trace.hpp
字号:
/* Context : Debugging/Trace Tool (Log/Trace) Author : Frank Hoeppner, see also AUTHORS file Description : header of function module trace further documentation of Log/Trace: DLR IB 112-98/13 History : see source file Comment : This file was generated automatically. DO NOT EDIT. Copyright : Copyright (C) 1999-2000 Frank Hoeppner This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA*/#ifndef trace_HEADER#define trace_HEADER/* configuration include */#ifdef HAVE_CONFIG_H/*//FILETREE_IFDEF HAVE_CONFIG_H*/#include "config.h"/*//FILETREE_ENDIF*/#endif#ifndef LOGTRACE_DEBUG#include "nodebug.hpp"#else/* necessary includes */#include "logtrace.hpp"#include "CLog.hpp"#include "DLog.hpp"#include "DataLog.hpp"#include "InitLog.hpp"#include "stlstream.hpp" // for frequently used pair output//#define INLINE inline/* global types and constants *//* data interface *//* Trace interface *//* inline implementation */#define invariant_try(invar, text, ret_value) \ if (!(invar)) \ { \ invariant(false,text); \ return ret_value; \ }#define DO_IF_ID_IS_KNOWN(ID, anw) \ if (id_is_known (ID)) \ { \ anw; \ }inline const char* MakeTraceInvarString(char * p) {return p;}inline const char* MakeTraceInvarString(char const* p) {return p;}#define postcondition invariant#define precondition invariantinline ostream& trspc(ostream& os) { return os; }#endif // LOGTRACE_DEBUG#endif /* trace_HEADER */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -