Vowpal Wabbit
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
table_formatter.h File Reference
#include "vw/common/text_utils.h"
#include "vw/core/parse_primitives.h"
#include <array>
#include <cstddef>
#include <iomanip>
#include <sstream>
#include <string>
#include <vector>

Classes

class  VW::column_definition
 

Namespaces

namespace  VW
 

Enumerations

enum class  VW::wrap_type { VW::truncate , VW::truncate_with_ellipsis , VW::wrap_space , VW::wrap_char }
 
enum class  VW::align_type { VW::left , VW::right }
 

Functions

template<size_t num_cols>
void VW::format_row (const std::array< std::string, num_cols > &contents, const std::array< column_definition, num_cols > &column_definitions, size_t column_padding, std::ostream &output)
 
template<size_t num_cols>
std::string VW::format_row (const std::array< std::string, num_cols > &contents, const std::array< column_definition, num_cols > &column_definitions, size_t column_padding)