Appearance
class flake::Table
Convenience alias – column metadata lives in the MetaProperties namespace. More...
#include <platform/flake/Table.h>
Public Functions
| Name | |
|---|---|
| virtual uint16_t | getNumRows() =0 Return the total number of rows in the table. |
| virtual uint16_t | getNumColumns() =0 Return the number of columns in the table. |
| virtual void | getRow(uint64_t index, PropArray & row) =0 Retrieve a single row by index. |
| virtual void | sort() =0 Sort the table rows (implementation-defined order). |
Protected Functions
| Name | |
|---|---|
| Table(constTable & ) =deleted | |
| Table & | operator=(constTable & ) =deleted |
| Table(Table && ) =deleted | |
| Table & | operator=(Table && ) =deleted |
| Table() =default | |
| virtual | ~Table() =default |
Detailed Description
cpp
class flake::Table;Convenience alias – column metadata lives in the MetaProperties namespace.
Note: Non-copyable, non-movable.
Abstract interface for read-only table access.
Concrete implementations (e.g. ValueTable) provide the actual data storage. Consumers obtain a Table via an Object property of type TT_TABLE.
Public Functions Documentation
function getNumRows
cpp
virtual uint16_t getNumRows() =0Return the total number of rows in the table.
Return: Row count.
function getNumColumns
cpp
virtual uint16_t getNumColumns() =0Return the number of columns in the table.
Return: Column count.
function getRow
cpp
virtual void getRow(
uint64_t index,
PropArray & row
) =0Retrieve a single row by index.
Parameters:
- index Zero-based row index.
- row PropArray that receives the row's property values.
function sort
cpp
virtual void sort() =0Sort the table rows (implementation-defined order).
Protected Functions Documentation
function Table
cpp
Table(
constTable &
) =deletedfunction operator=
cpp
Table & operator=(
constTable &
) =deletedfunction Table
cpp
Table(
Table &&
) =deletedfunction operator=
cpp
Table & operator=(
Table &&
) =deletedfunction Table
cpp
Table() =defaultfunction ~Table
cpp
virtual ~Table() =default