Blender V4.3
error_stack.h
Go to the documentation of this file.
1/***************************************************************************
2 tag: Erwin Aertbelien Mon Jan 10 16:38:39 CET 2005 error_stack.h
3
4 error_stack.h - description
5 -------------------
6 begin : Mon January 10 2005
7 copyright : (C) 2005 Erwin Aertbelien
8 email : erwin.aertbelien@mech.kuleuven.ac.be
9
10 ***************************************************************************
11 * This library is free software; you can redistribute it and/or *
12 * modify it under the terms of the GNU Lesser General Public *
13 * License as published by the Free Software Foundation; either *
14 * version 2.1 of the License, or (at your option) any later version. *
15 * *
16 * This library is distributed in the hope that it will be useful, *
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
19 * Lesser General Public License for more details. *
20 * *
21 * You should have received a copy of the GNU Lesser General Public *
22 * License along with this library; if not, write to the Free Software *
23 * Foundation, Inc., 51 Franklin Street, *
24 * Fifth Floor, Boston, MA 02110-1301, USA. *
25 * *
26 ***************************************************************************/
27
28
37#ifndef ERROR_STACK_H
38#define ERROR_STACK_H
39
40#include "utility.h"
41#include "utility_io.h"
42#include <string>
43
44
45namespace KDL {
46
47/*
48 * \todo
49 * IOTrace-routines store in static memory, should be in thread-local memory.
50 * pushes a description of the current routine on the IO-stack trace
51 */
52void IOTrace(const std::string& description);
53
55void IOTracePop();
56
57
59void IOTraceOutput(std::ostream& os);
60
63void IOTracePopStr(char* buffer,int size);
64
65
66}
67
68#endif
69
Definition chain.cpp:27
void IOTracePopStr(char *buffer, int size)
void IOTraceOutput(std::ostream &os)
outputs the IO-stack to a stream to provide a better errormessage.
void IOTracePop()
pops a description of the IO-stack
void IOTrace(const std::string &description)