|
| void | put (std::string const &key, Polynomial &&value) |
| |
| Polynomial | get (std::string const &key) |
| | Get a reference to a polynomial in the PolynomialStore; will throw exception if the key does not exist in the map.
|
| |
| void | remove (std::string const &key) |
| | Erase the polynomial with the given key from the map if it exists. (ASSERT that it does)
|
| |
| size_t | get_size_in_bytes () const |
| | Get the current size (bytes) of all polynomials in the PolynomialStore.
|
| |
| void | print () |
| | Print a summary of the PolynomialStore contents.
|
| |
|
bool | contains (std::string const &key) |
| |
|
size_t | size () |
| |
|
std::unordered_map< std::string, Polynomial >::const_iterator | begin () const |
| |
|
std::unordered_map< std::string, Polynomial >::const_iterator | end () const |
| |
◆ get()
Get a reference to a polynomial in the PolynomialStore; will throw exception if the key does not exist in the map.
Returns a polynomial by value. A shallow copy of the polynomial is taken, which the compiler will move to the caller.
- Parameters
-
| key | string ID of the polynomial |
- Returns
- Polynomial&; a reference to the polynomial associated with the given key
◆ get_size_in_bytes()
Get the current size (bytes) of all polynomials in the PolynomialStore.
- Returns
- size_t
◆ print()
◆ put()
◆ remove()
Erase the polynomial with the given key from the map if it exists. (ASSERT that it does)
- Parameters
-
The documentation for this class was generated from the following files:
- src/barretenberg/proof_system/polynomial_store/polynomial_store.hpp
- src/barretenberg/proof_system/polynomial_store/polynomial_store.cpp