1#ifndef LINTEL_TABLEBUILDER_H
2#define LINTEL_TABLEBUILDER_H
22 std::array<Column, N> m_columns;
31 m_columns[
i].m_rows.push_back(
iter);
43 for (
const auto &
iter : m_columns) {
45 iter.m_rows.begin(),
iter.m_rows.end(), [](
const auto &
a,
const auto &
b) { return a.length() < b.length(); });
57 const std::size_t
m =
N > 0 ? m_columns[0].m_rows.size() : 0;
62 for (std::size_t
j = 0;
j <
m;
j++) {
64 for (
i = 0;
i <
N;
i++) {
66 std::string
val = m_columns[
i].m_rows[
j];
Definition TableBuilder.h:20
std::string build()
Definition TableBuilder.h:38
void add(std::array< std::string, N > line)
Definition TableBuilder.h:27
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9
Definition TableBuilder.h:13
std::vector< std::string > m_rows
Definition TableBuilder.h:15