class DepthPrinter
Defined at line 21 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h
Helper for printing 'dump' style information at different depths (i.e. with space prefixes).
This class is not thread safe.
Public Methods
void DepthPrinter (FILE * file, size_t depth)
Defined at line 23 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h
void DepthPrinter (size_t depth)
Defined at line 24 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h
void ~DepthPrinter ()
Defined at line 25 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h
void DepthPrinter (const DepthPrinter & )
Disallow copying and moving
Defined at line 28 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h
void DepthPrinter (DepthPrinter && )
Defined at line 29 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h
DepthPrinter & operator= (const DepthPrinter & )
Defined at line 30 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h
DepthPrinter & operator= (DepthPrinter && )
Defined at line 31 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h
void Emit (const char * fmt)
Emit a single item it. It will have spaces prefixed based on the depth and a newline added to
the end.
Defined at line 35 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h
void VEmit (const char * fmt, va_list args)
Same as emit, but takes a va_list.
Defined at line 43 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h
void BeginList (size_t max)
Indicates a list is about to be emitted. Only at most |max| Emit calls will result in output,
with any additional being counted. |EndList| must be called once finished emitting the list.
Defined at line 57 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h
void EndList ()
Indicates that printing of the list is finished and, if relevant, will emit a message
indicating how many items were skipped.
Defined at line 66 of file ../../zircon/kernel/lib/dump/include/lib/dump/depth_printer.h