Public Member Functions | Private Attributes | List of all members
grpc_core::metadata_detail::CopySink< Output > Class Template Reference

#include <metadata_batch.h>

Public Member Functions

 CopySink (Output *dst)
 
void Encode (const Slice &key, const Slice &value)
 
template<class T >
void Encode (T trait, const Slice &value)
 
template<class T , class V >
void Encode (T trait, V value)
 

Private Attributes

Output * dst_
 

Detailed Description

template<typename Output>
class grpc_core::metadata_detail::CopySink< Output >

Definition at line 776 of file metadata_batch.h.

Constructor & Destructor Documentation

◆ CopySink()

template<typename Output >
grpc_core::metadata_detail::CopySink< Output >::CopySink ( Output *  dst)
inlineexplicit

Definition at line 778 of file metadata_batch.h.

Member Function Documentation

◆ Encode() [1/3]

template<typename Output >
void grpc_core::metadata_detail::CopySink< Output >::Encode ( const Slice key,
const Slice value 
)
inline

Definition at line 790 of file metadata_batch.h.

◆ Encode() [2/3]

template<typename Output >
template<class T >
void grpc_core::metadata_detail::CopySink< Output >::Encode ( T  trait,
const Slice value 
)
inline

Definition at line 786 of file metadata_batch.h.

◆ Encode() [3/3]

template<typename Output >
template<class T , class V >
void grpc_core::metadata_detail::CopySink< Output >::Encode ( T  trait,
value 
)
inline

Definition at line 781 of file metadata_batch.h.

Member Data Documentation

◆ dst_

template<typename Output >
Output* grpc_core::metadata_detail::CopySink< Output >::dst_
private

Definition at line 795 of file metadata_batch.h.


The documentation for this class was generated from the following file:


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