GRPC C++  1.39.1
Public Types | Public Member Functions
grpc_slice_refcount Struct Reference

#include <slice_internal.h>

Public Types

enum class  Type { STATIC , INTERNED , NOP , REGULAR }
 
typedef void(* DestroyerFn) (void *)
 

Public Member Functions

 grpc_slice_refcount ()=default
 
 grpc_slice_refcount (Type t)
 
 grpc_slice_refcount (grpc_slice_refcount *sub)
 
 grpc_slice_refcount (grpc_slice_refcount::Type type, grpc_core::RefCount *ref, DestroyerFn destroyer_fn, void *destroyer_arg, grpc_slice_refcount *sub)
 
 grpc_slice_refcount (grpc_slice_refcount *sub, Type type)
 
Type GetType () const
 
int Eq (const grpc_slice &a, const grpc_slice &b)
 
uint32_t Hash (const grpc_slice &slice)
 
void Ref ()
 
void Unref ()
 
grpc_slice_refcountsub_refcount () const
 

Member Typedef Documentation

◆ DestroyerFn

typedef void(* grpc_slice_refcount::DestroyerFn) (void *)

Member Enumeration Documentation

◆ Type

Enumerator
STATIC 
INTERNED 
NOP 
REGULAR 

Constructor & Destructor Documentation

◆ grpc_slice_refcount() [1/5]

grpc_slice_refcount::grpc_slice_refcount ( )
default

◆ grpc_slice_refcount() [2/5]

grpc_slice_refcount::grpc_slice_refcount ( Type  t)
inlineexplicit

◆ grpc_slice_refcount() [3/5]

grpc_slice_refcount::grpc_slice_refcount ( grpc_slice_refcount sub)
inlineexplicit

◆ grpc_slice_refcount() [4/5]

grpc_slice_refcount::grpc_slice_refcount ( grpc_slice_refcount::Type  type,
grpc_core::RefCount ref,
DestroyerFn  destroyer_fn,
void *  destroyer_arg,
grpc_slice_refcount sub 
)
inline

◆ grpc_slice_refcount() [5/5]

grpc_slice_refcount::grpc_slice_refcount ( grpc_slice_refcount sub,
Type  type 
)
inline

Member Function Documentation

◆ Eq()

int grpc_slice_refcount::Eq ( const grpc_slice a,
const grpc_slice b 
)
inline

◆ GetType()

Type grpc_slice_refcount::GetType ( ) const
inline

◆ Hash()

uint32_t grpc_slice_refcount::Hash ( const grpc_slice slice)
inline

◆ Ref()

void grpc_slice_refcount::Ref ( )
inline

◆ sub_refcount()

grpc_slice_refcount* grpc_slice_refcount::sub_refcount ( ) const
inline

◆ Unref()

void grpc_slice_refcount::Unref ( )
inline

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