Tracer
[Debug tools]


Classes

struct  zypp::debug::TraceCADBase
 Base for a simple tracer. More...
struct  zypp::debug::TraceCAD< _Tp >
 A simple tracer for (copy) Construction, Assignment, and Destruction. More...

Functions

template<class _Tp>
void zypp::debug::traceCAD (TraceCADBase::What what_r, const TraceCAD< _Tp > &self_r, const TraceCAD< _Tp > &rhs_r)
 Drop a log line about the traced method.
std::ostream & zypp::debug::TraceCADBase::operator<< (std::ostream &str, TraceCADBase::What obj)
 Stream output of TraceCADBase::What.
template<class _Tp>
std::ostream & zypp::debug::TraceCAD::operator<< (std::ostream &str, const TraceCAD< _Tp > &obj)
 Stream output.

Function Documentation

template<class _Tp>
void zypp::debug::traceCAD ( TraceCADBase::What  what_r,
const TraceCAD< _Tp > &  self_r,
const TraceCAD< _Tp > &  rhs_r 
) [inline]

Drop a log line about the traced method.

Overload to fit your needs.

Definition at line 145 of file Debug.h.

References _DBG, zypp::debug::TraceCADBase::_ident, zypp::debug::TraceCADBase::ASSIGN, zypp::debug::TraceCADBase::COPYCTOR, zypp::debug::TraceCADBase::CTOR, zypp::debug::TraceCADBase::DTOR, and zypp::debug::TraceCADBase::PING.

Referenced by zypp::debug::TraceCAD< _Tp >::_PING(), zypp::debug::TraceCAD< _Tp >::operator=(), zypp::debug::TraceCAD< _Tp >::TraceCAD(), and zypp::debug::TraceCAD< _Tp >::~TraceCAD().

std::ostream & operator<< ( std::ostream &  str,
TraceCADBase::What  obj 
) [related, inherited]

Stream output of TraceCADBase::What.

Definition at line 73 of file Debug.h.

References zypp::debug::TraceCADBase::ASSIGN, zypp::debug::TraceCADBase::COPYCTOR, zypp::debug::TraceCADBase::CTOR, zypp::debug::TraceCADBase::DTOR, and zypp::debug::TraceCADBase::PING.

template<class _Tp>
std::ostream & operator<< ( std::ostream &  str,
const TraceCAD< _Tp > &  obj 
) [related, inherited]

Stream output.

Definition at line 137 of file Debug.h.


Generated on Tue Sep 25 19:23:12 2007 for libzypp by  doxygen 1.5.3