Classes | Typedefs | Functions
grpc_core::metadata_detail Namespace Reference

Classes

struct  AdaptDisplayValueToLog
 
struct  AdaptDisplayValueToLog< const std::string & >
 
struct  AdaptDisplayValueToLog< Slice >
 
struct  AdaptDisplayValueToLog< StaticSlice >
 
struct  AdaptDisplayValueToLog< std::string >
 
class  AppendHelper
 
union  Buffer
 
class  CopySink
 
class  DebugStringBuilder
 
struct  EncodeWrapper
 
class  GetStringValueHelper
 
struct  HasSimpleMemento
 
struct  IsEncodableTrait
 
struct  IsEncodableTrait< Trait, absl::void_t< decltype(Trait::key())> >
 
struct  LogWrapper
 
struct  NameLookup
 
struct  NameLookup< absl::enable_if_t< IsEncodableTrait< Trait >::value, void >, Trait, Traits... >
 
struct  NameLookup< absl::enable_if_t<!IsEncodableTrait< Trait >::value, void >, Trait, Traits... >
 
struct  NameLookup< void >
 
class  ParseHelper
 
struct  ParseValue
 
class  RemoveHelper
 
class  TransportSizeEncoder
 
class  UnknownMap
 
struct  Value
 
struct  Value< Which, absl::enable_if_t< Which::kRepeatable==false &&!IsEncodableTrait< Which >::value, void > >
 
struct  Value< Which, absl::enable_if_t< Which::kRepeatable==false &&IsEncodableTrait< Which >::value, void > >
 
struct  Value< Which, absl::enable_if_t< Which::kRepeatable==true &&!IsEncodableTrait< Which >::value, void > >
 
struct  Value< Which, absl::enable_if_t< Which::kRepeatable==true &&IsEncodableTrait< Which >::value, void > >
 

Typedefs

using LogFn = absl::FunctionRef< void(absl::string_view, absl::string_view)>
 

Functions

void DestroySliceValue (const Buffer &value)
 
void DestroyTrivialMemento (const Buffer &)
 
template<typename Field >
Field FieldFromPointer (const Buffer &value)
 
template<typename Field >
Field FieldFromTrivial (const Buffer &value)
 
template<typename T , typename U , typename V >
GPR_ATTRIBUTE_NOINLINE void LogKeyValueTo (absl::string_view key, const T &value, V(*display_value)(U), LogFn log_fn)
 
std::string MakeDebugString (absl::string_view key, absl::string_view value)
 
template<typename Field , typename CompatibleWithField , typename Display >
GPR_ATTRIBUTE_NOINLINE std::string MakeDebugStringPipeline (absl::string_view key, const Buffer &value, Field(*field_from_buffer)(const Buffer &), Display(*display_from_field)(CompatibleWithField))
 
template<Slice(*)(Slice) MementoToValue>
void SetSliceValue (Slice *set, const Buffer &value)
 
Slice SliceFromBuffer (const Buffer &buffer)
 

Typedef Documentation

◆ LogFn

Definition at line 621 of file metadata_batch.h.

Function Documentation

◆ DestroySliceValue()

void grpc_core::metadata_detail::DestroySliceValue ( const Buffer value)

Definition at line 32 of file parsed_metadata.cc.

◆ DestroyTrivialMemento()

void grpc_core::metadata_detail::DestroyTrivialMemento ( const Buffer )

Definition at line 36 of file parsed_metadata.cc.

◆ FieldFromPointer()

template<typename Field >
Field grpc_core::metadata_detail::FieldFromPointer ( const Buffer value)

Definition at line 91 of file parsed_metadata.h.

◆ FieldFromTrivial()

template<typename Field >
Field grpc_core::metadata_detail::FieldFromTrivial ( const Buffer value)

Definition at line 83 of file parsed_metadata.h.

◆ LogKeyValueTo()

template<typename T , typename U , typename V >
GPR_ATTRIBUTE_NOINLINE void grpc_core::metadata_detail::LogKeyValueTo ( absl::string_view  key,
const T value,
V(*)(U)  display_value,
LogFn  log_fn 
)

Definition at line 653 of file metadata_batch.h.

◆ MakeDebugString()

std::string grpc_core::metadata_detail::MakeDebugString ( absl::string_view  key,
absl::string_view  value 
)

Definition at line 24 of file parsed_metadata.cc.

◆ MakeDebugStringPipeline()

template<typename Field , typename CompatibleWithField , typename Display >
GPR_ATTRIBUTE_NOINLINE std::string grpc_core::metadata_detail::MakeDebugStringPipeline ( absl::string_view  key,
const Buffer value,
Field(*)(const Buffer &)  field_from_buffer,
Display(*)(CompatibleWithField)  display_from_field 
)

Definition at line 73 of file parsed_metadata.h.

◆ SetSliceValue()

template<Slice(*)(Slice) MementoToValue>
void grpc_core::metadata_detail::SetSliceValue ( Slice set,
const Buffer value 
)

Definition at line 106 of file parsed_metadata.h.

◆ SliceFromBuffer()

Slice grpc_core::metadata_detail::SliceFromBuffer ( const Buffer buffer)

Definition at line 28 of file parsed_metadata.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:38