Go to the documentation of this file.
14 #warning ZYPP_BASE_DEBUG_H included
15 #ifndef ZYPP_BASE_DEBUG_H
16 #define ZYPP_BASE_DEBUG_H
36 #define TAG INT << __PRETTY_FUNCTION__ << std::endl
39 inline std::ostream &
dumpMemOn( std::ostream &
str,
const std::string & msg = std::string() )
51 str <<
"MEMUSAGE " << msg << std::endl;
115 {
static unsigned long _val = 0;
119 {
_ident = __PRETTY_FUNCTION__;
149 <<
") [" << &obj <<
"] "; }
164 L_DBG(
"DEBUG") << what_r << self_r <<
" (" << self_r.
_ident <<
")" << std::endl;
171 L_DBG(
"DEBUG") << what_r << self_r <<
"( " << rhs_r <<
")" <<
" (" << self_r.
_ident <<
")" << std::endl;
184 #endif // ZYPP_BASE_DEBUG_H
185 #endif // ZYPP_NDEBUG
TraceCAD & operator=(TraceCAD &&rhs)
Execute a program and give access to its io An object of this class encapsulates the execution of an ...
TraceCAD(const TraceCAD &rhs)
Base for a simple tracer.
void traceCAD(TraceCADBase::What what_r, const TraceCAD< Tp > &self_r, const TraceCAD< Tp > &rhs_r)
Drop a log line about the traced method.
A simple tracer for (copy) Construction, Assignment, and Destruction.
Base class for objects providing a numeric Id.
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & operator<<(std::ostream &str, TraceCADBase::What obj)
std::string numstring(char n, int w=0)
TraceCAD & operator=(const TraceCAD &rhs)
int close()
Wait for the progamm to complete.
static unsigned long & _totalTraceCAD()
std::ostream & operator<<(std::ostream &str, const TraceCAD< Tp > &obj)
unsigned long numericId() const
std::string receiveLine()
Read one line from the input stream.
String related utilities and Regular expression matching.
std::ostream & dumpMemOn(std::ostream &str, const std::string &msg=std::string())
'ps v'