TSDuck Version 3.15-955 (TSDuck - The MPEG Transport Stream Toolkit)
tsTextFormatter.h File Reference

Format and print a text document. More...

Classes

class  ts::TextFormatter
 Format and print a text document using various output types and indentation. More...
 

Namespaces

 ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Functions

IOManipulatorProxy< TextFormatter, size_t > ts::column (size_t col)
 I/O manipulator for TextFormatter: move to a given column. More...
 
std::ostream & ts::indent (std::ostream &os)
 I/O manipulator for TextFormatter: push one indentation level. More...
 
std::ostream & ts::margin (std::ostream &os)
 I/O manipulator for TextFormatter: move to the current margin. More...
 
IOManipulatorProxy< TextFormatter, size_t > ts::margin (size_t size)
 I/O manipulator for TextFormatter: set the margin size for outer-most elements. More...
 
IOManipulatorProxy< TextFormatter, size_t > ts::spaces (size_t count)
 I/O manipulator for TextFormatter: output spaces on the stream. More...
 
std::ostream & ts::unindent (std::ostream &os)
 I/O manipulator for TextFormatter: pop one indentation level. More...
 

Detailed Description

Format and print a text document.