Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
data_table_sinks.hpp File Reference

Synchronous CSV, TSV, JSON and terminal adapters for typed table subscriptions. More...

#include "data_table_json.hpp"
#include "display.hpp"
Include dependency graph for data_table_sinks.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uni20::presentation::data_table_detail::delimited_sink
 
class  uni20::presentation::data_table_detail::json_sink_adapter
 
class  uni20::presentation::data_table_detail::terminal_sink_adapter
 
struct  uni20::presentation::data_terminal_options
 Independent terminal projection, widths, and destination using the existing display router. More...
 

Namespaces

namespace  uni20
 
namespace  uni20::presentation
 
namespace  uni20::presentation::data_table_detail
 

Functions

auto uni20::presentation::csv_sink (std::ostream &out, delimited_options options={})
 Stream CSV rows to a borrowed stream, flushing on explicit sink/table finish.
 
auto uni20::presentation::json_sink (std::ostream &out, data_json_options options={})
 Stream a JSON document.
 
template<typename T >
display::formatted_cell uni20::presentation::data_table_detail::terminal_cell (T const &value, data_column_display const &format)
 
auto uni20::presentation::terminal_sink (data_terminal_options options={})
 Stream deferred display formatting through display::streaming_table.
 
auto uni20::presentation::tsv_sink (std::ostream &out, delimited_options options={})
 Stream tab-delimited CSV rows to a borrowed stream, flushing on explicit finish.
 

Detailed Description

Synchronous CSV, TSV, JSON and terminal adapters for typed table subscriptions.