table_ref_t
Defined in header: <ixion/table.hpp>
-
struct table_ref_t
Reference to a part of a table in a formula expression, such as
Table1[[#Headers],[Amount]], commonly known as a structured reference in spreadsheet applications. The string views point into the storage of the formula token the reference belongs to.Public Functions
-
table_ref_t()
Construct an empty reference with no areas.
-
bool operator==(const table_ref_t &r) const
Compare all the fields of two references.
Public Members
-
std::string_view name
Name of the table. It is empty when the reference does not name the table, in which case the table is the one containing the referencing cell.
-
std::string_view column_first
Name of the first column of the reference. It is empty when the reference only contains area specifiers.
-
std::string_view column_last
Name of the last column of the reference. It is empty for a single-column reference.
-
table_areas_t areas
Areas of the table the reference covers, as a combination of table_area_t flags.
-
table_ref_t()