trace.h File Reference

#include <iostream>
#include <string>
Include dependency graph for trace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define TRACE_S   __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << std::endl
#define TRACE   std::cerr << __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << std::endl;
#define TRACE_H   std::cerr << __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << " "
#define TRACE_THIS   std::cerr << "this = " << static_cast<const void*>(this) << " @ " << TRACE_S ;
#define FUNCTION_S   std::string(__PRETTY_FUNCTION__)
#define LOG   log() << FUNCTION_S << ": " << __FILE__ << "." << __LINE__

Define Documentation

#define TRACE_S   __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << std::endl

Definition at line 6 of file trace.h.

#define TRACE   std::cerr << __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << std::endl;

Definition at line 8 of file trace.h.

#define TRACE_H   std::cerr << __PRETTY_FUNCTION__ << ": " << __FILE__ << "." << __LINE__ << " "

Definition at line 10 of file trace.h.

#define TRACE_THIS   std::cerr << "this = " << static_cast<const void*>(this) << " @ " << TRACE_S ;

Definition at line 12 of file trace.h.

#define FUNCTION_S   std::string(__PRETTY_FUNCTION__)

Definition at line 15 of file trace.h.

Referenced by Dv::shared_ptr< T >::operator*(), and Dv::shared_ptr< T >::operator->().

#define LOG   log() << FUNCTION_S << ": " << __FILE__ << "." << __LINE__

Definition at line 17 of file trace.h.


dvutil-1.0.10 [ 5 December, 2009]