ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
View Changeset
|
Root Listing
root
/
OpenMD
/
branches
/
development
/
src
/
debug
/
Backtrace.h
Revision:
1490
Committed:
Fri Aug 13 15:02:28 2010 UTC
(15 years, 2 months ago) by
chuckv
Content type:
text/plain
File size:
254 byte(s)
Log Message:
Adding some error reporting and debuging code to OpenMD. This code is borrowed from ProtoMol.
File Contents
#
Content
1
#ifndef BACKTRACE_H
2
#define BACKTRACE_H
3
4
#include <vector>
5
#include <string>
6
7
namespace ProtoMol {
8
class Backtrace {
9
public:
10
typedef std::vector<std::string> trace_t;
11
12
static void getStackTrace(trace_t &trace);
13
};
14
}
15
#endif // BACKTRACE_H