| 184 | |
| 185 | template <class T> |
| 186 | void CppAggregatesFx<T>::run_all_combinations(std::function<void()> fn) { |
| 187 | for (bool use_dim : use_dim_values_) { |
| 188 | use_dim_ = use_dim; |
| 189 | for (std::string dim_name : dim_name_values_) { |
| 190 | dim_name_ = dim_name; |
| 191 | for (bool set_ranges : {true, false}) { |
| 192 | set_ranges_ = set_ranges; |
| 193 | for (bool request_data : {true, false}) { |
| 194 | request_data_ = request_data; |
| 195 | for (bool set_qc : set_qc_values_) { |
| 196 | set_qc_ = set_qc; |
| 197 | for (tiledb_layout_t layout : layout_values_) { |
| 198 | // Filter invalid combination. The legacy reader does not support |
| 199 | // aggregates, and we cannot automatically switch to unordered |
| 200 | // reads if we are requesting both the aggregates and the data. |
| 201 | if (request_data && layout != TILEDB_UNORDERED) { |
| 202 | continue; |
| 203 | } |
| 204 | layout_ = layout; |
| 205 | fn(); |
| 206 | } |
| 207 | } |
| 208 | } |
| 209 | } |
| 210 | } |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | template <class T> |
| 215 | void CppAggregatesFx<T>::create_dense_array(bool var) { |
no outgoing calls
no test coverage detected