Flow123d
Classes | Namespaces | Constant Groups | Macros
sys_function_stack.hh File Reference

Stack trace, using macro F_ENTRY to put a trace point. More...

#include <cstdio>
#include <iostream>
#include <vector>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  flow::Trace_helper
 
class  flow::Trace
 This class provides function call stack. More...
 

Namespaces

 flow
 

Constant Groups

 flow
 

Macros

#define F_STACK_SHOW(stream)
 
#define F_ENTRY
 

Detailed Description

Stack trace, using macro F_ENTRY to put a trace point.

Copyright (C) 2007 Technical University of Liberec. All rights reserved.

Please make a following refer to Flow123d on your project site if you use the program for any purpose, especially for academic research: Flow123d, Research Centre: Advanced Remedial Technologies, Technical University of Liberec, Czech Republic

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

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 021110-1307, USA.

$Id$ $Revision$ $LastChangedBy$ $LastChangedDate$

Definition in file sys_function_stack.hh.

Macro Definition Documentation

#define F_ENTRY

Unless Flow123d_NODEBUG is defined, it creates instance of the Trace class, providing compile time information about the place of usage.

Definition at line 68 of file sys_function_stack.hh.

#define F_STACK_SHOW (   stream)

Just shortcut to both static output methods of the Trace class.

Definition at line 67 of file sys_function_stack.hh.