| Revision: | 1490 |
| Committed: | Fri Aug 13 15:02:28 2010 UTC (15 years, 3 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. |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | chuckv | 1490 | #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 |