本文整理汇总了C++中Tracer::dump方法的典型用法代码示例。如果您正苦于以下问题:C++ Tracer::dump方法的具体用法?C++ Tracer::dump怎么用?C++ Tracer::dump使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Tracer
的用法示例。
在下文中一共展示了Tracer::dump方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: new
Ref<Object> Tracer::dump(Frame * frame)
{
Tracer * tracer = NULL;
frame->extract()(tracer, "self");
StringStreamT buffer;
tracer->dump(frame, buffer);
return new(frame) String(buffer.str());
}
示例2: dump
void Tracer::dump(QString indention) const
{
// print some useful infos about this tracer
kdbgstream(indention, 0, 999, true)
<< "- "
<< *m_tracerpartname
<< " [" << TRACE_LEVEL_NAME[m_tracelevel] << "] "
<< "(classname: " << *m_classname << "), "
<< "fulltracername: " << *m_tracername
<< endl;
// call dump on each child
indention.append(" ");
Tracer* child;
for (child = m_children->first(); child; child = m_children->next()) {
child->dump(indention);
}
}