28#include <boost/variant.hpp>
34#include "ElementsKernel/Export.h"
62 boost::variant<bool, int32_t, int64_t, float, double, std::string, std::vector<bool>,
std::vector<int32_t>,
NdArray(std::vector< size_t > shape_)
const_iterator end() const
Returns a const iterator to the past-the-end cell of the row.
std::vector< cell_type > m_values
std::shared_ptr< ColumnInfo > getColumnInfo() const
Returns a ColumnInfo object describing the columns of the Row.
boost::variant< bool, int32_t, int64_t, float, double, std::string, std::vector< bool >, std::vector< int32_t >, std::vector< int64_t >, std::vector< float >, std::vector< double >, NdArray::NdArray< int32_t >, NdArray::NdArray< int64_t >, NdArray::NdArray< float >, NdArray::NdArray< double > > cell_type
The possible cell types.
const_iterator begin() const
Returns a const iterator to the first cell of the row.
size_t size() const
Returns the number of cells in the row.
std::shared_ptr< ColumnInfo > m_column_info
virtual ~Row()=default
Default destructor.
Row(std::vector< cell_type > values, std::shared_ptr< ColumnInfo > column_info)
Constructs a Row with the given cell values and column info descriptor.
std::vector< cell_type >::const_iterator const_iterator
const cell_type & operator[](const size_t index) const
Returns the value of the column with the given index (zero based)
std::ostream & operator<<(std::ostream &s, const cell_stream_adaptor &cell)
const Row::cell_type & m_cell
cell_stream_adaptor(const Row::cell_type &cell)