backtraceformat.h

Go to the documentation of this file.
00001 /** @file rutz/backtraceformat.h generate a human-readable string from
00002     a rutz::backtrace object */
00003 
00004 ///////////////////////////////////////////////////////////////////////
00005 //
00006 // Copyright (c) 2005-2007 University of Southern California
00007 // Rob Peters <rjpeters at klab dot caltech dot edu>
00008 //
00009 // created: Thu Jun 30 14:39:14 2005
00010 // commit: $Id: backtraceformat.h 8249 2007-04-12 06:03:40Z rjpeters $
00011 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/rutz/backtraceformat.h $
00012 //
00013 // --------------------------------------------------------------------
00014 //
00015 // This file is part of GroovX.
00016 //   [http://www.klab.caltech.edu/rjpeters/groovx/]
00017 //
00018 // GroovX is free software; you can redistribute it and/or modify it
00019 // under the terms of the GNU General Public License as published by
00020 // the Free Software Foundation; either version 2 of the License, or
00021 // (at your option) any later version.
00022 //
00023 // GroovX is distributed in the hope that it will be useful, but
00024 // WITHOUT ANY WARRANTY; without even the implied warranty of
00025 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00026 // General Public License for more details.
00027 //
00028 // You should have received a copy of the GNU General Public License
00029 // along with GroovX; if not, write to the Free Software Foundation,
00030 // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
00031 //
00032 ///////////////////////////////////////////////////////////////////////
00033 
00034 #ifndef GROOVX_RUTZ_BACKTRACEFORMAT_H_UTC20050630213914_DEFINED
00035 #define GROOVX_RUTZ_BACKTRACEFORMAT_H_UTC20050630213914_DEFINED
00036 
00037 namespace rutz
00038 {
00039   class backtrace;
00040   class fstring;
00041 
00042   /// Generate a human-readable string representation of the backtrace.
00043   /** Note: this function is not part of rutz::backtrace's interface
00044       so that rutz::backtrace doesn't have to depend on rutz::fstring,
00045       in order to break cyclic dependencies. In any case, this
00046       function's implementation doesn't need access to
00047       rutz::backtrace's privates. */
00048   rutz::fstring format(const rutz::backtrace& bt);
00049 }
00050 
00051 static const char __attribute__((used)) vcid_groovx_rutz_backtraceformat_h_utc20050630213914[] = "$Id: backtraceformat.h 8249 2007-04-12 06:03:40Z rjpeters $ $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/rutz/backtraceformat.h $";
00052 #endif // !GROOVX_RUTZ_BACKTRACEFORMAT_H_UTC20050630213914DEFINED
Generated on Sun May 8 08:06:39 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3