Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <twin_rom_table.hpp>
Public Member Functions | |
twin_rom_table () | |
twin_rom_table (const std::vector< field_pair_pt > &table_entries) | |
twin_rom_table (const twin_rom_table &other) | |
twin_rom_table (twin_rom_table &&other) | |
void | initialize_table () const |
twin_rom_table & | operator= (const twin_rom_table &other) |
twin_rom_table & | operator= (twin_rom_table &&other) |
field_pair_pt | operator[] (const size_t index) const |
field_pair_pt | operator[] (const field_pt &index) const |
size_t | size () const |
Builder * | get_context () const |
Private Types | |
typedef field_t< Builder > | field_pt |
typedef std::array< field_pt, 2 > | field_pair_pt |
Private Attributes | |
std::vector< field_pair_pt > | raw_entries |
std::vector< field_pair_pt > | entries |
std::vector< std::array< OriginTag, 2 > > | tags |
size_t | length = 0 |
size_t | rom_id = 0 |
bool | initialized = false |
Builder * | context = nullptr |
Definition at line 17 of file twin_rom_table.hpp.
|
private |
Definition at line 20 of file twin_rom_table.hpp.
|
private |
Definition at line 19 of file twin_rom_table.hpp.
|
inline |
Definition at line 23 of file twin_rom_table.hpp.
bb::stdlib::twin_rom_table< Builder >::twin_rom_table | ( | const std::vector< field_pair_pt > & | table_entries | ) |
bb::stdlib::twin_rom_table< Builder >::twin_rom_table | ( | const twin_rom_table< Builder > & | other | ) |
Definition at line 87 of file twin_rom_table.cpp.
bb::stdlib::twin_rom_table< Builder >::twin_rom_table | ( | twin_rom_table< Builder > && | other | ) |
Definition at line 98 of file twin_rom_table.cpp.
|
inline |
Definition at line 41 of file twin_rom_table.hpp.
void bb::stdlib::twin_rom_table< Builder >::initialize_table | ( | ) | const |
Definition at line 49 of file twin_rom_table.cpp.
twin_rom_table< Builder > & bb::stdlib::twin_rom_table< Builder >::operator= | ( | const twin_rom_table< Builder > & | other | ) |
Definition at line 108 of file twin_rom_table.cpp.
twin_rom_table< Builder > & bb::stdlib::twin_rom_table< Builder >::operator= | ( | twin_rom_table< Builder > && | other | ) |
Definition at line 120 of file twin_rom_table.cpp.
std::array< field_t< Builder >, 2 > bb::stdlib::twin_rom_table< Builder >::operator[] | ( | const field_pt & | index | ) | const |
Definition at line 144 of file twin_rom_table.cpp.
std::array< field_t< Builder >, 2 > bb::stdlib::twin_rom_table< Builder >::operator[] | ( | const size_t | index | ) | const |
Definition at line 133 of file twin_rom_table.cpp.
|
inline |
Definition at line 39 of file twin_rom_table.hpp.
|
mutableprivate |
Definition at line 52 of file twin_rom_table.hpp.
|
mutableprivate |
Definition at line 45 of file twin_rom_table.hpp.
|
mutableprivate |
Definition at line 51 of file twin_rom_table.hpp.
|
private |
Definition at line 49 of file twin_rom_table.hpp.
|
private |
Definition at line 44 of file twin_rom_table.hpp.
|
mutableprivate |
Definition at line 50 of file twin_rom_table.hpp.
|
mutableprivate |
Definition at line 48 of file twin_rom_table.hpp.