Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
DataTable column for storing float
data type class.
More...
#include <column_numeric.h>
Public Member Functions | |
void | accept (DataTableColumnVisitor &visitor) const override |
Double dispatch the column using a visitor implementation. More... | |
![]() | |
PrimitiveDataTableColumn (std::string &&name, std::vector< float > &&data) | |
Initialises a new instance of the PrimitiveDataTableColumn class. More... | |
PrimitiveDataTableColumn (std::string &&name, std::vector< float > &&data, std::vector< bool > &&null_bitmap) | |
Initialises a new instance of the PrimitiveDataTableColumn class. More... | |
std::string | type () const noexcept override |
Gets the column type name. More... | |
std::string | name () const noexcept override |
Gets the column name identifier. More... | |
std::size_t | null_count () const noexcept override |
Gets the number of null values in the column data. More... | |
std::size_t | size () const noexcept override |
The size of the column data, number of rows. More... | |
bool | is_null (std::size_t index) const noexcept override |
Determine whether a column value is null. More... | |
bool | is_valid (std::size_t index) const noexcept override |
Determine whether a column value is not null. More... | |
const std::any | value (std::size_t index) const noexcept override |
Gets the column value at a given index. More... | |
const std::optional< value_type > | value_safe (const std::size_t index) const noexcept |
Gets the column value at a given index. More... | |
const value_type | value_unsafe (const std::size_t index) const |
Gets the column value at a given index, unsafe without boundary checks. More... | |
IteratorType | begin () const |
Gets the iterator to the first element of the column. More... | |
IteratorType | end () const |
Gets the iterator element following the last element of the column. More... | |
![]() | |
DataTableColumn ()=default | |
Initialises a new instance of the DataTableColumn class. More... | |
DataTableColumn (const DataTableColumn &)=delete | |
DataTableColumn & | operator= (const DataTableColumn &)=delete |
DataTableColumn (DataTableColumn &&)=delete | |
DataTableColumn & | operator= (DataTableColumn &&)=delete |
virtual | ~DataTableColumn () |
Destroys a DataTableColumn instance. More... | |
Additional Inherited Members | |
![]() | |
using | value_type = float |
using | IteratorType = DataTableColumnIterator< PrimitiveDataTableColumn< float > > |
DataTable column for storing float
data type class.
|
inlineoverridevirtual |
Double dispatch the column using a visitor implementation.
visitor | The visitor instance to accept |
Implements hgps::core::DataTableColumn.