|
Orcus
|
Public Types | |
| using | fields_type = std::vector<pivot_cache_field_t> |
| using | records_type = std::vector<pivot_cache_record_t> |
Public Member Functions | |
| pivot_cache (pivot_cache_id_t cache_id, string_pool &sp) | |
| void | insert_fields (fields_type fields) |
| void | insert_records (records_type record) |
| size_t | get_field_count () const |
| const pivot_cache_field_t * | get_field (size_t index) const |
| pivot_cache_id_t | get_id () const |
| const records_type & | get_all_records () const |
| const pivot_cache_field_t * orcus::spreadsheet::pivot_cache::get_field | ( | size_t | index | ) | const |
Retrieve a field data by its index.
| index | index of the field to retrieve. |
| void orcus::spreadsheet::pivot_cache::insert_fields | ( | fields_type | fields | ) |
Bulk-insert all the fields in one step. Note that this will replace any pre-existing fields if any.
| fields | field instances to move into storage. |