Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <interaction_def.hpp>
Public Member Functions | |
InteractionDefinition ()=default | |
template<typename InteractionSettings , InteractionType type> | |
InteractionDefinition & | add (auto &&... args) |
template<InteractionType type, typename... InteractionSettings> | |
InteractionDefinition & | add (auto &&... args) |
std::vector< std::unique_ptr< InteractionBuilderInterface > > | get_all_jobs () const |
std::vector< std::unique_ptr< InteractionBuilderInterface > > | get_all_test_jobs () const |
std::unique_ptr< InteractionBuilderInterface > | get_job (const std::string &interaction_name) const |
std::unique_ptr< InteractionBuilderInterface > | get_test_job (const std::string &interaction_name) const |
template<typename InteractionSettings > | |
std::unique_ptr< InteractionBuilderInterface > | get_test_job () const |
Private Types | |
using | Factory = std::function< std::unique_ptr< InteractionBuilderInterface >(bool strict)> |
Private Member Functions | |
const Factory & | get_job_internal (const std::string &interaction_name) const |
Static Private Member Functions | |
template<InteractionType type, typename... InteractionSettings> | |
static Factory | get_interaction_factory (auto &&... args) |
Private Attributes | |
std::unordered_map< std::string, Factory > | interactions |
Definition at line 29 of file interaction_def.hpp.
|
private |
Definition at line 62 of file interaction_def.hpp.
|
default |
|
inline |
Definition at line 34 of file interaction_def.hpp.
|
inline |
Definition at line 41 of file interaction_def.hpp.
std::vector< std::unique_ptr< InteractionBuilderInterface > > bb::avm2::tracegen::InteractionDefinition::get_all_jobs | ( | ) | const |
Definition at line 5 of file interaction_def.cpp.
std::vector< std::unique_ptr< InteractionBuilderInterface > > bb::avm2::tracegen::InteractionDefinition::get_all_test_jobs | ( | ) | const |
Definition at line 15 of file interaction_def.cpp.
|
inlinestaticprivate |
Definition at line 66 of file interaction_def.hpp.
std::unique_ptr< InteractionBuilderInterface > bb::avm2::tracegen::InteractionDefinition::get_job | ( | const std::string & | interaction_name | ) | const |
Definition at line 25 of file interaction_def.cpp.
|
private |
Definition at line 36 of file interaction_def.cpp.
|
inline |
Definition at line 56 of file interaction_def.hpp.
std::unique_ptr< InteractionBuilderInterface > bb::avm2::tracegen::InteractionDefinition::get_test_job | ( | const std::string & | interaction_name | ) | const |
Definition at line 30 of file interaction_def.cpp.
|
private |
Definition at line 63 of file interaction_def.hpp.