MaCh3  2.8.0
Reference Guide
Classes | Namespaces | Enumerations | Functions
TablePrinter.h File Reference
#include <algorithm>
#include <cstddef>
#include <iomanip>
#include <sstream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "Manager/MaCh3Logger.h"
Include dependency graph for TablePrinter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  M3::Utils::ColumnSpec
 Column specification used by TablePrinter. More...
 
class  M3::Utils::TablePrinter
 Creates fancy formatted text tables for terminal output. More...
 

Namespaces

 M3
 Main namespace for MaCh3 software.
 
 M3::Utils
 Utility helpers used across MaCh3.
 

Enumerations

enum class  M3::Utils::Alignment { M3::Utils::Left , M3::Utils::Right , M3::Utils::Center }
 Column alignment. More...
 

Functions

template<typename Container >
std::string M3::Utils::join (const Container &values, std::string_view separator=" ")
 Join all values in a container into a single string. More...
 
template<typename T >
static std::string M3::Utils::Cell (T &&value, std::string_view format)
 Format a value using a runtime fmt format string. More...