OpenEFI  v2
tables Namespace Reference

Implementacion de tablas 2D con vectores, valores en uint16_t. More...

Functions

int32_t get_value (table_ref, uint16_t, uint16_t)
 
void set_value (table_ref, uint16_t, uint16_t, int16_t)
 
int32_t get_long_value (table_ref, uint16_t, uint16_t)
 
void set_long_value (table_ref, uint16_t, uint16_t, int32_t)
 
TABLEDATA read_all (table_ref)
 reads all data of the selected table More...
 
int32_t find_nearest_neighbor (std::vector< int32_t >, int32_t)
 
std::vector< int32_t > col_to_row (TABLEDATA, uint16_t)
 
void update_table (TABLEDATA, table_ref)
 erases page on memory and record new data of table
 
void dump_row (std::vector< int32_t >, uint8_t *)
 
std::vector< int32_t > put_row (uint8_t *, uint32_t)
 
bool on_bounds (table_ref, int32_t, int32_t)
 return true if input X/Y is on the table
 
void plot_table (TABLEDATA)
 

Detailed Description

Implementacion de tablas 2D con vectores, valores en uint16_t.

Function Documentation

◆ read_all()

TABLEDATA tables::read_all ( table_ref  table)

reads all data of the selected table

Parameters
{table_ref}table - table to read
Returns
{TABLE_DATA} - vector 2D with uint16_t data