|
Botan 3.14.1
Crypto and TLS for C&
|
#include <algorithm_spec.h>
Public Member Functions | |
| bool | has (std::string_view var) const |
| std::string_view | head () const |
| size_t | integer (std::string_view var) const |
| const AlgorithmSpec & | name (std::string_view var) const |
| std::span< const AlgorithmSpec > | rest (std::string_view var) const |
| std::string_view | str (std::string_view var) const |
Friends | |
| class | AlgorithmSpec |
The variables bound by a successful AlgorithmSpec::match
Requesting a variable which the pattern does not declare, or with an accessor that does not fit its type, is a programmer error and throws Internal_Error.
Definition at line 234 of file algorithm_spec.h.
| bool Botan::AlgorithmMatch::has | ( | std::string_view | var | ) | const |
Definition at line 281 of file algorithm_spec.cpp.
References Botan::fmt(), and has().
Referenced by has().
|
inline |
Definition at line 240 of file algorithm_spec.h.
| size_t Botan::AlgorithmMatch::integer | ( | std::string_view | var | ) | const |
Definition at line 298 of file algorithm_spec.cpp.
References Botan::fmt(), Botan::AlgorithmPattern::Int, and integer().
Referenced by AlgorithmSpec, and integer().
| const AlgorithmSpec & Botan::AlgorithmMatch::name | ( | std::string_view | var | ) | const |
Definition at line 306 of file algorithm_spec.cpp.
References AlgorithmSpec, Botan::fmt(), Botan::AlgorithmPattern::Name, and name().
Referenced by name().
| std::span< const AlgorithmSpec > Botan::AlgorithmMatch::rest | ( | std::string_view | var | ) | const |
Definition at line 314 of file algorithm_spec.cpp.
References Botan::fmt(), and rest().
Referenced by AlgorithmSpec, and rest().
| std::string_view Botan::AlgorithmMatch::str | ( | std::string_view | var | ) | const |
Definition at line 290 of file algorithm_spec.cpp.
References Botan::fmt(), and str().
Referenced by str().
|
friend |
Definition at line 268 of file algorithm_spec.h.
References AlgorithmSpec, integer(), Botan::AlgorithmPattern::Name, rest(), and text.
Referenced by AlgorithmSpec, and name().