11 return config_.begin();
21 return config_.begin();
31 return config_.cbegin();
36 return config_.cend();
45 return std::optional{config_.at(key)};
50 return config_.size();
55 config_.insert_or_assign(key, value);
60 return config_.contains(key);
68 return config_.at(key).type();
73 return std::ranges::all_of(declarations, [
this](
const auto &decl) {
void put(const std::string &key, const std::any &value)
Stores an operand value with the given key.
std::unordered_map< std::string, std::any >::iterator iterator
const_iterator cbegin() const noexcept
std::unordered_map< std::string, std::any >::const_iterator const_iterator
const_iterator cend() const noexcept
bool contains(const std::string &key) const
Checks if an operand with the given key exists.
std::size_t size() const
Returns the number of operands stored in the bundle.
std::optional< std::type_index > type_index_of(const std::string &key) const
Retrieves the runtime type information for an operand.
std::optional< std::any > get(const std::string &key) const
Retrieves an operand value as std::any.
bool satisfies_declarations(const std::vector< OperandDeclaration > &declarations) const
Validates that the bundle satisfies a set of operand declarations.
iterator begin() noexcept