|
sparrow 1.3.0
|
#include <concepts>#include <cstddef>#include <cstdint>#include <cstring>#include <numeric>#include <ranges>#include <string_view>#include <utility>#include "sparrow/config/config.hpp"#include "sparrow/utils/contracts.hpp"#include "sparrow/utils/ranges.hpp"Go to the source code of this file.
Classes | |
| class | sparrow::key_value_view_iterator |
| Iterator for traversing key-value pairs in a binary metadata buffer. More... | |
| class | sparrow::key_value_view |
| Custom view for lazily extracting key-value pairs from a binary buffer. More... | |
Namespaces | |
| namespace | sparrow |
Concepts | |
| concept | sparrow::input_metadata_container |
| Concept for input containers that can provide metadata pairs. | |
Typedefs | |
| using | sparrow::metadata_key = std::string |
| Type alias for metadata keys. | |
| using | sparrow::metadata_key_const_reference = std::string_view |
| using | sparrow::metadata_value = std::string |
| Type alias for metadata values. | |
| using | sparrow::metadata_value_const_reference = std::string_view |
| using | sparrow::metadata_pair = std::pair<metadata_key, metadata_value> |
| Type alias for metadata key-value pairs. | |
| using | sparrow::metadata_pair_const_reference = std::pair<metadata_key_const_reference, metadata_value_const_reference> |
Functions | |
| SPARROW_API int32_t | sparrow::extract_int32 (const char *&ptr) |
| Helper function to extract a 32-bit integer from a character buffer. | |
| SPARROW_API bool | sparrow::operator== (const sparrow::key_value_view &lhs, const sparrow::key_value_view &rhs) |
| Equality comparison operator for key_value_view (free function). | |
| template<input_metadata_container T> | |
| std::string | sparrow::get_metadata_from_key_values (const T &metadata) |
| Converts a container of key-value pairs to binary metadata format. | |