pivot_cache_group_data_t
Defined in header: <orcus/spreadsheet/pivot.hpp>
-
struct pivot_cache_group_data_t
Group data for a pivot cache field.
Public Functions
-
pivot_cache_group_data_t(size_t _base_field)
-
pivot_cache_group_data_t(const pivot_cache_group_data_t &other)
-
pivot_cache_group_data_t(pivot_cache_group_data_t &&other)
-
pivot_cache_group_data_t() = delete
Public Members
-
pivot_cache_indices_t base_to_group_indices
Mapping of base field member indices to the group field item indices.
-
std::optional<range_grouping_type> range_grouping
-
pivot_cache_items_t items
Individual items comprising the group.
-
size_t base_field
0-based index of the base field.
-
struct range_grouping_type
-
Public Members
-
pivot_cache_group_by_t group_by = pivot_cache_group_by_t::range
-
bool auto_start = true
-
bool auto_end = true
-
double start = 0.0
-
double end = 0.0
-
double interval = 1.0
-
date_time_t start_date
-
date_time_t end_date
-
pivot_cache_group_by_t group_by = pivot_cache_group_by_t::range
-
pivot_cache_group_data_t(size_t _base_field)