GRPC Core  18.0.0
Public Member Functions | Protected Member Functions
grpc_core::RefcountedMdBase Class Reference

#include <metadata.h>

Public Member Functions

 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 ()
 

Protected Member Functions

void TraceAtStart (const char *tag)
 
intptr_t RefValue ()
 
bool AllRefsDropped ()
 
bool FirstRef ()
 

Constructor & Destructor Documentation

◆ RefcountedMdBase() [1/2]

grpc_core::RefcountedMdBase::RefcountedMdBase ( const grpc_slice key,
const grpc_slice value 
)
inline

◆ RefcountedMdBase() [2/2]

grpc_core::RefcountedMdBase::RefcountedMdBase ( const grpc_slice key,
const grpc_slice value,
uint32_t  hash 
)
inline

Member Function Documentation

◆ AllRefsDropped()

bool grpc_core::RefcountedMdBase::AllRefsDropped ( )
inlineprotected

◆ FirstRef()

bool grpc_core::RefcountedMdBase::FirstRef ( )
inlineprotected

◆ hash()

uint32_t grpc_core::RefcountedMdBase::hash ( )
inline

◆ key()

const grpc_slice& grpc_core::RefcountedMdBase::key ( ) const
inline

◆ Ref() [1/2]

void grpc_core::RefcountedMdBase::Ref ( )
inline

◆ Ref() [2/2]

void grpc_core::RefcountedMdBase::Ref ( const char *  file,
int  line 
)
inline

◆ RefValue()

intptr_t grpc_core::RefcountedMdBase::RefValue ( )
inlineprotected

◆ TraceAtStart()

void grpc_core::RefcountedMdBase::TraceAtStart ( const char *  tag)
protected

◆ Unref() [1/2]

bool grpc_core::RefcountedMdBase::Unref ( )
inline

◆ Unref() [2/2]

bool grpc_core::RefcountedMdBase::Unref ( const char *  file,
int  line 
)
inline

◆ value()

const grpc_slice& grpc_core::RefcountedMdBase::value ( ) const
inline

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