Loading...
Searching...
No Matches
avnd_tools::Table2D Struct Reference

Public Types

using array_type = boost::multi_array< value_type, 2 >
 

Public Member Functions

 halp_meta (name, "Table (2D)") halp_meta(author
 
ossia team halp_meta (category, "Control/Data processing") halp_meta(description
 
ossia team Store arbitrary data in a dimensional table halp_meta (c_name, "avnd_table_2d") halp_meta(uuid
 
ossia team Store arbitrary data in a dimensional table b8c4d2e3 bcde f01234567892 halp_meta (manual_url, "https://ossia.io/score-docs/processes/table.html") using value_type
 
std::size_t num_rows () const
 
std::size_t num_cols () const
 
bool in_bounds (int64_t row, int64_t col) const
 
bool read (int64_t row, int64_t col)
 
void set (int64_t row, int64_t col, const value_type &value)
 
std::vector< ossia::value > get_row (int64_t row) const
 
std::vector< ossia::value > get_column (int64_t col) const
 
void set_row (int64_t row, const value_type &v)
 
void set_column (int64_t col, const value_type &v)
 
void clear_cell (int64_t row, int64_t col)
 
void clear_row (int64_t row)
 
void clear_column (int64_t col)
 
void insert_row (int64_t index, const value_type &v)
 
void insert_column (int64_t index, const value_type &v)
 
void erase_row (int64_t row)
 
void erase_column (int64_t col)
 
void append_row (const value_type &v)
 
void append_column (const value_type &v)
 
void resize (int64_t rows, int64_t cols)
 
void fill (const value_type &value)
 
void transpose ()
 
void do_clear ()
 
ossia::value dump () const
 
void operator() ()
 

Public Attributes

struct { 
 
      read 
 
      read_row 
 
      read_column 
 
      set 
 
      set_row 
 
      set_column 
 
      clear_cell 
 
      clear_row 
 
      clear_column 
 
      insert_row 
 
      insert_column 
 
      erase_row 
 
      erase_column 
 
      append_row 
 
      append_column 
 
      resize 
 
      fill_port 
 
      transpose 
 
   halp::maintained_button<"Clear">   clear 
 
   halp::maintained_button<"Lock">   lock 
 
      dump 
 
   halp::toggle<"Preserve">   preserve 
 
inputs 
 
struct { 
 
   halp::val_port<"Output", ossia::value >   output 
 
   halp::val_port<"Row", std::vector< ossia::value > >   row_output 
 
   halp::val_port<"Column", std::vector< ossia::value > >   column_output 
 
   halp::val_port<"Rows", int64_t >   rows 
 
   halp::val_port<"Columns", int64_t >   columns 
 
   halp::val_port<"Size", int64_t >   size 
 
outputs 
 
array_type buffer
 

The documentation for this struct was generated from the following file: