#include <metadata_batch.h>
Public Member Functions | |
void | Append (absl::string_view key, Slice value, MetadataParseErrorFn on_error) |
void | Clear () |
Derived | Copy () const |
size_t | count () const |
std::string | DebugString () const |
bool | empty () const |
template<typename Encoder > | |
void | Encode (Encoder *encoder) const |
template<typename Which > | |
absl::optional< typename Which::ValueType > | get (Which) const |
template<typename Which > | |
metadata_detail::Value< Which >::StorageType * | get_pointer (Which) |
template<typename Which > | |
const metadata_detail::Value< Which >::StorageType * | get_pointer (Which) const |
template<typename Which > | |
metadata_detail::Value< Which >::StorageType * | GetOrCreatePointer (Which) |
absl::optional< absl::string_view > | GetStringValue (absl::string_view name, std::string *buffer) const |
void | Log (metadata_detail::LogFn log_fn) const |
MetadataMap (Arena *arena) | |
MetadataMap (const MetadataMap &)=delete | |
MetadataMap (MetadataMap &&) noexcept | |
MetadataMap & | operator= (const MetadataMap &)=delete |
Derived & | operator= (MetadataMap &&) noexcept |
void | Remove (absl::string_view key) |
void | Remove (const char *key) |
template<typename Which > | |
void | Remove (Which) |
void | Set (const ParsedMetadata< Derived > &m) |
template<typename Which , typename... Args> | |
absl::enable_if_t< Which::kRepeatable==false, void > | Set (Which, Args &&... args) |
template<typename Which , typename... Args> | |
absl::enable_if_t< Which::kRepeatable==true, void > | Set (Which, Args &&... args) |
template<typename Which > | |
absl::enable_if_t< Which::kRepeatable==false, absl::optional< typename Which::ValueType > > | Take (Which which) |
template<typename Which > | |
absl::enable_if_t< Which::kRepeatable==true, typename metadata_detail::Value< Which >::StorageType > | Take (Which which) |
size_t | TransportSize () const |
~MetadataMap () | |
Static Public Member Functions | |
static ParsedMetadata< Derived > | Parse (absl::string_view key, Slice value, uint32_t transport_size, MetadataParseErrorFn on_error) |
Private Types | |
template<typename Which > | |
using | Value = metadata_detail::Value< Which > |
Private Attributes | |
Table< Value< Traits >... > | table_ |
metadata_detail::UnknownMap | unknown_ |
Definition at line 984 of file metadata_batch.h.
|
private |
Definition at line 1177 of file metadata_batch.h.
|
explicit |
Definition at line 1193 of file metadata_batch.h.
|
default |
|
delete |
|
noexcept |
Definition at line 1196 of file metadata_batch.h.
|
inline |
Definition at line 1156 of file metadata_batch.h.
void grpc_core::MetadataMap< Derived, Traits >::Clear |
Definition at line 1214 of file metadata_batch.h.
Derived grpc_core::MetadataMap< Derived, Traits >::Copy |
Definition at line 1227 of file metadata_batch.h.
|
inline |
Definition at line 1167 of file metadata_batch.h.
|
inline |
Definition at line 1027 of file metadata_batch.h.
|
inline |
Definition at line 1166 of file metadata_batch.h.
|
inline |
Definition at line 1011 of file metadata_batch.h.
|
inline |
Definition at line 1067 of file metadata_batch.h.
|
inline |
Definition at line 1049 of file metadata_batch.h.
|
inline |
Definition at line 1039 of file metadata_batch.h.
|
inline |
Definition at line 1058 of file metadata_batch.h.
|
inline |
Definition at line 1100 of file metadata_batch.h.
|
inline |
Definition at line 1020 of file metadata_batch.h.
|
delete |
|
noexcept |
Definition at line 1203 of file metadata_batch.h.
|
inlinestatic |
Definition at line 1142 of file metadata_batch.h.
|
inline |
Definition at line 1092 of file metadata_batch.h.
|
inline |
Definition at line 1097 of file metadata_batch.h.
|
inline |
Definition at line 1087 of file metadata_batch.h.
|
inline |
Definition at line 1151 of file metadata_batch.h.
|
inline |
Definition at line 1075 of file metadata_batch.h.
|
inline |
Definition at line 1080 of file metadata_batch.h.
|
inline |
Definition at line 1115 of file metadata_batch.h.
|
inline |
Definition at line 1129 of file metadata_batch.h.
size_t grpc_core::MetadataMap< Derived, Traits >::TransportSize |
Definition at line 1220 of file metadata_batch.h.
|
friend |
Definition at line 1170 of file metadata_batch.h.
|
friend |
Definition at line 1173 of file metadata_batch.h.
|
friend |
Definition at line 1171 of file metadata_batch.h.
|
friend |
Definition at line 1172 of file metadata_batch.h.
|
friend |
Definition at line 1174 of file metadata_batch.h.
|
private |
Definition at line 1180 of file metadata_batch.h.
|
private |
Definition at line 1181 of file metadata_batch.h.