TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
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

namespace  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.
 
std::ostream & ts::endl (std::ostream &os)
 I/O manipulator for TextFormatter: insert an end-of-line, according to the current end-of-line mode.
 
std::ostream & ts::indent (std::ostream &os)
 I/O manipulator for TextFormatter: push one indentation level.
 
IOManipulatorProxy< TextFormatter, size_t > ts::margin (size_t size)
 I/O manipulator for TextFormatter: set the margin size for outer-most elements.
 
std::ostream & ts::margin (std::ostream &os)
 I/O manipulator for TextFormatter: move to the current margin.
 
IOManipulatorProxy< TextFormatter, size_t > ts::spaces (size_t count)
 I/O manipulator for TextFormatter: output spaces on the stream.
 
std::ostream & ts::unindent (std::ostream &os)
 I/O manipulator for TextFormatter: pop one indentation level.
 

Detailed Description

Format and print a text document.