GRPC C++  1.39.1
Data Structures | Public Member Functions
grpc_core::AllocatedMetadata Class Reference

#include <metadata.h>

Data Structures

struct  NoRefKey
 

Public Member Functions

 AllocatedMetadata (const grpc_slice &key, const grpc_slice &value)
 
 AllocatedMetadata (const grpc_core::ManagedMemorySlice &key, const grpc_core::UnmanagedMemorySlice &value)
 
 AllocatedMetadata (const grpc_core::ExternallyManagedSlice &key, const grpc_core::UnmanagedMemorySlice &value)
 
 AllocatedMetadata (const grpc_slice &key, const grpc_slice &value, const NoRefKey *)
 
 ~AllocatedMetadata ()
 
UserDatauser_data ()
 
- Public Member Functions inherited from grpc_core::RefcountedMdBase
 RefcountedMdBase (const grpc_slice &key, const grpc_slice &value)
 
 RefcountedMdBase (const grpc_slice &key, const grpc_slice &value, uint32_t hash)
 
const grpc_slicekey () const
 
const grpc_slicevalue () const
 
uint32_t hash ()
 
void Ref (const char *file, int line)
 
bool Unref (const char *file, int line)
 
void Ref ()
 
bool Unref ()
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::RefcountedMdBase
void TraceAtStart (const char *tag)
 
intptr_t RefValue ()
 
bool AllRefsDropped ()
 
bool FirstRef ()
 

Constructor & Destructor Documentation

◆ AllocatedMetadata() [1/4]

AllocatedMetadata::AllocatedMetadata ( const grpc_slice key,
const grpc_slice value 
)

◆ AllocatedMetadata() [2/4]

AllocatedMetadata::AllocatedMetadata ( const grpc_core::ManagedMemorySlice key,
const grpc_core::UnmanagedMemorySlice value 
)

◆ AllocatedMetadata() [3/4]

AllocatedMetadata::AllocatedMetadata ( const grpc_core::ExternallyManagedSlice key,
const grpc_core::UnmanagedMemorySlice value 
)

◆ AllocatedMetadata() [4/4]

AllocatedMetadata::AllocatedMetadata ( const grpc_slice key,
const grpc_slice value,
const NoRefKey  
)

◆ ~AllocatedMetadata()

AllocatedMetadata::~AllocatedMetadata ( )

Member Function Documentation

◆ user_data()

UserData* grpc_core::AllocatedMetadata::user_data ( )
inline

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