Health-GPS  1.2.2.0
Global Health Policy Simulation model (Health-GPS)
hgps::core::FloatDataTableColumn Class Reference

DataTable column for storing float data type class. More...

#include <column_numeric.h>

Inheritance diagram for hgps::core::FloatDataTableColumn:
[legend]
Collaboration diagram for hgps::core::FloatDataTableColumn:
[legend]

Public Member Functions

void accept (DataTableColumnVisitor &visitor) const override
 Double dispatch the column using a visitor implementation. More...
 
- Public Member Functions inherited from hgps::core::PrimitiveDataTableColumn< float >
 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_typevalue_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...
 
- Public Member Functions inherited from hgps::core::DataTableColumn
 DataTableColumn ()=default
 Initialises a new instance of the DataTableColumn class. More...
 
 DataTableColumn (const DataTableColumn &)=delete
 
DataTableColumnoperator= (const DataTableColumn &)=delete
 
 DataTableColumn (DataTableColumn &&)=delete
 
DataTableColumnoperator= (DataTableColumn &&)=delete
 
virtual ~DataTableColumn ()
 Destroys a DataTableColumn instance. More...
 

Additional Inherited Members

- Public Types inherited from hgps::core::PrimitiveDataTableColumn< float >
using value_type = float
 
using IteratorType = DataTableColumnIterator< PrimitiveDataTableColumn< float > >
 

Detailed Description

DataTable column for storing float data type class.

Member Function Documentation

◆ accept()

void hgps::core::FloatDataTableColumn::accept ( DataTableColumnVisitor visitor) const
inlineoverridevirtual

Double dispatch the column using a visitor implementation.

Parameters
visitorThe visitor instance to accept

Implements hgps::core::DataTableColumn.

Here is the call graph for this function:

The documentation for this class was generated from the following file: