DataTable column visitor interface.
Definition visitor.h:8
DataTable columns interface data type.
Definition column.h:11
virtual void accept(DataTableColumnVisitor &visitor) const =0
Double dispatch the column using a visitor implementation.
virtual bool is_valid(std::size_t index) const noexcept=0
Determine whether a column value is not null.
virtual std::size_t size() const noexcept=0
The size of the column data, number of rows.
DataTableColumn(const DataTableColumn &)=delete
virtual std::string type() const noexcept=0
Gets the column type name.
virtual const std::any value(std::size_t index) const noexcept=0
Gets the column value at a given index.
virtual std::size_t null_count() const noexcept=0
Gets the number of null values in the column data.
DataTableColumn & operator=(DataTableColumn &&)=delete
DataTableColumn()=default
Initialises a new instance of the DataTableColumn class.
virtual ~DataTableColumn()=default
Destroys a DataTableColumn instance.
DataTableColumn(DataTableColumn &&)=delete
DataTableColumn & operator=(const DataTableColumn &)=delete
virtual bool is_null(std::size_t index) const noexcept=0
Determine whether a column value is null.
virtual std::string name() const noexcept=0
Gets the column name identifier.
Top-level namespace for Health-GPS Core C++ API.
Definition analysis.h:7
Global namespace.
Definition column_iterator.h:123