Orcus
|
Public Member Functions | |
tables (const tables &)=delete | |
tables & | operator= (const tables &)=delete |
void | insert (std::unique_ptr< table_t > p) |
std::weak_ptr< const table_t > | get (std::string_view name) const |
std::map< std::string_view, std::weak_ptr< const table_t > > | get_by_sheet (sheet_t pos) const |
Friends | |
struct | detail::document_impl |
std::weak_ptr< const table_t > orcus::spreadsheet::tables::get | ( | std::string_view | name | ) | const |
Get a structure containing properties of a named table.
name | Name of the table. |
std::map< std::string_view, std::weak_ptr< const table_t > > orcus::spreadsheet::tables::get_by_sheet | ( | sheet_t | pos | ) | const |
Get all tables belonging to a certain sheet by sheet index.
pos | 0-based sheet index. |
void orcus::spreadsheet::tables::insert | ( | std::unique_ptr< table_t > | p | ) |
Insert a new table instance.
p | Table instance to insert. |