Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <rom_table.hpp>
Public Member Functions | |
rom_table () | |
rom_table (const std::vector< field_pt > &table_entries) | |
rom_table (const rom_table &other) | |
rom_table (rom_table &&other) | |
void | initialize_table () const |
rom_table & | operator= (const rom_table &other) |
rom_table & | operator= (rom_table &&other) |
field_pt | operator[] (const size_t index) const |
field_pt | operator[] (const field_pt &index) const |
size_t | size () const |
Builder * | get_context () const |
Private Types | |
typedef field_t< Builder > | field_pt |
Private Attributes | |
std::vector< field_pt > | raw_entries |
std::vector< field_pt > | entries |
std::vector< OriginTag > | _tags |
size_t | length = 0 |
size_t | rom_id = 0 |
bool | initialized = false |
Builder * | context = nullptr |
Definition at line 16 of file rom_table.hpp.
|
private |
Definition at line 18 of file rom_table.hpp.
|
inline |
Definition at line 21 of file rom_table.hpp.
bb::stdlib::rom_table< Builder >::rom_table | ( | const std::vector< field_pt > & | table_entries | ) |
Definition at line 16 of file rom_table.cpp.
bb::stdlib::rom_table< Builder >::rom_table | ( | const rom_table< Builder > & | other | ) |
Definition at line 77 of file rom_table.cpp.
bb::stdlib::rom_table< Builder >::rom_table | ( | rom_table< Builder > && | other | ) |
Definition at line 88 of file rom_table.cpp.
|
inline |
Definition at line 39 of file rom_table.hpp.
void bb::stdlib::rom_table< Builder >::initialize_table | ( | ) | const |
Definition at line 44 of file rom_table.cpp.
rom_table< Builder > & bb::stdlib::rom_table< Builder >::operator= | ( | const rom_table< Builder > & | other | ) |
Definition at line 98 of file rom_table.cpp.
rom_table< Builder > & bb::stdlib::rom_table< Builder >::operator= | ( | rom_table< Builder > && | other | ) |
Definition at line 110 of file rom_table.cpp.
field_t< Builder > bb::stdlib::rom_table< Builder >::operator[] | ( | const field_pt & | index | ) | const |
Definition at line 132 of file rom_table.cpp.
field_t< Builder > bb::stdlib::rom_table< Builder >::operator[] | ( | const size_t | index | ) | const |
Definition at line 122 of file rom_table.cpp.
|
inline |
Definition at line 37 of file rom_table.hpp.
|
mutableprivate |
Definition at line 45 of file rom_table.hpp.
|
mutableprivate |
Definition at line 49 of file rom_table.hpp.
|
mutableprivate |
Definition at line 43 of file rom_table.hpp.
|
mutableprivate |
Definition at line 48 of file rom_table.hpp.
|
private |
Definition at line 46 of file rom_table.hpp.
|
private |
Definition at line 42 of file rom_table.hpp.
|
mutableprivate |
Definition at line 47 of file rom_table.hpp.