MCPcopy Create free account
hub / github.com/p-ranav/tabulate / column

Method column

include/tabulate/table_internal.hpp:81–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 Column column(size_t index) {
82 Column column(shared_from_this());
83 for (size_t i = 0; i < rows_.size(); ++i) {
84 auto row = rows_[i];
85 auto &cell = row->cell(index);
86 column.add_cell(cell);
87 }
88 return column;
89 }
90
91 size_t size() const { return rows_.size(); }
92

Callers 1

Calls 2

sizeMethod · 0.45
add_cellMethod · 0.45

Tested by

no test coverage detected