Skip to content

class flake::Table

Convenience alias – column metadata lives in the MetaProperties namespace. More...

#include <platform/flake/Table.h>

Public Functions

Name
virtual uint16_tgetNumRows() =0
Return the total number of rows in the table.
virtual uint16_tgetNumColumns() =0
Return the number of columns in the table.
virtual voidgetRow(uint64_t index, PropArray & row) =0
Retrieve a single row by index.
virtual voidsort() =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() =0

Return the total number of rows in the table.

Return: Row count.

function getNumColumns

cpp
virtual uint16_t getNumColumns() =0

Return the number of columns in the table.

Return: Column count.

function getRow

cpp
virtual void getRow(
    uint64_t index,
    PropArray & row
) =0

Retrieve 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() =0

Sort the table rows (implementation-defined order).

Protected Functions Documentation

function Table

cpp
Table(
    constTable & 
) =deleted

function operator=

cpp
Table & operator=(
    constTable & 
) =deleted

function Table

cpp
Table(
    Table && 
) =deleted

function operator=

cpp
Table & operator=(
    Table && 
) =deleted

function Table

cpp
Table() =default

function ~Table

cpp
virtual ~Table() =default