13 throw cms::Exception(
"LogicError",
"Mismatch in adding extension");
16 case ColumnType::Float:
22 case ColumnType::Int8:
28 case ColumnType::UInt8:
34 case ColumnType::Double:
44 if (column >= nColumns())
46 switch (columnType(column)) {
47 case ColumnType::Float:
48 return *(beginData<float>(column) + row);
50 return *(beginData<int>(column) + row);
51 case ColumnType::Int8:
52 return *(beginData<int8_t>(column) + row);
54 return *(beginData<bool>(column) + row);
55 case ColumnType::UInt8:
56 return *(beginData<uint8_t>(column) + row);
58 return *(beginData<uint32_t>(column) + row);
59 case ColumnType::Double:
60 return *(beginData<double>(column) + row);
void addExtension(const FlatTable &extension)
int columnIndex(const std::string &name) const
std::vector< Column > columns_
ColumnType columnType(unsigned int col) const
auto columnData(unsigned int column) const
get a column by index (const)
const std::string & name() const
const std::string & columnName(unsigned int col) const
unsigned int nColumns() const
unsigned int size() const
double getAnyValue(unsigned int row, unsigned int column) const
tuple size
Write out results.
const std::string & columnDoc(unsigned int col) const