libzypp  16.15.2

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...
 

Enumerations

enum  zypp::debug::TraceCADBase::What {
  zypp::debug::TraceCADBase::CTOR, zypp::debug::TraceCADBase::COPYCTOR, zypp::debug::TraceCADBase::MOVECTOR, zypp::debug::TraceCADBase::ASSIGN,
  zypp::debug::TraceCADBase::MOVEASSIGN, zypp::debug::TraceCADBase::DTOR, zypp::debug::TraceCADBase::PING
}
 

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. More...
 
std::ostream & operator<< (std::ostream &str, TraceCADBase::What obj)
 
template<class Tp >
std::ostream & operator<< (std::ostream &str, const TraceCAD< Tp > &obj)
 

Detailed Description

Enumeration Type Documentation

Enumerator
CTOR 
COPYCTOR 
MOVECTOR 
ASSIGN 
MOVEASSIGN 
DTOR 
PING 

Definition at line 69 of file Debug.h.

Function Documentation

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.

Overload to fit your needs.

Definition at line 155 of file Debug.h.

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

Stream output of TraceCADBase::What.

Definition at line 74 of file Debug.h.

template<class Tp >
std::ostream & operator<< ( std::ostream &  str,
const TraceCAD< Tp > &  obj 
)
related

Stream output.

Definition at line 147 of file Debug.h.