GRPC C++  1.66.0
Public Member Functions | Protected Member Functions
grpc_event_engine::experimental::slice_detail::BaseSlice Class Reference

#include <slice.h>

Public Member Functions

 BaseSlice (const BaseSlice &)=delete
 
BaseSliceoperator= (const BaseSlice &)=delete
 
 BaseSlice (BaseSlice &&other)=delete
 
BaseSliceoperator= (BaseSlice &&other)=delete
 
const uint8_t * begin () const
 
const uint8_t * end () const
 
const uint8_t * cbegin () const
 
const uint8_t * cend () const
 
const grpc_slicec_slice () const
 
grpc_slice TakeCSlice ()
 
absl::string_view as_string_view () const
 
uint8_t operator[] (size_t i) const
 
const uint8_t * data () const
 
size_t size () const
 
size_t length () const
 
bool empty () const
 
bool is_equivalent (const BaseSlice &other) const
 
uint32_t Hash () const
 

Protected Member Functions

 BaseSlice ()
 
 BaseSlice (const grpc_slice &slice)
 
 ~BaseSlice ()=default
 
void Swap (BaseSlice *other)
 
void SetCSlice (const grpc_slice &slice)
 
uint8_t * mutable_data ()
 
grpc_slicec_slice_ptr ()
 

Constructor & Destructor Documentation

◆ BaseSlice() [1/4]

grpc_event_engine::experimental::slice_detail::BaseSlice::BaseSlice ( const BaseSlice )
delete

◆ BaseSlice() [2/4]

grpc_event_engine::experimental::slice_detail::BaseSlice::BaseSlice ( BaseSlice &&  other)
delete

◆ BaseSlice() [3/4]

grpc_event_engine::experimental::slice_detail::BaseSlice::BaseSlice ( )
inlineprotected

◆ BaseSlice() [4/4]

grpc_event_engine::experimental::slice_detail::BaseSlice::BaseSlice ( const grpc_slice slice)
inlineexplicitprotected

◆ ~BaseSlice()

grpc_event_engine::experimental::slice_detail::BaseSlice::~BaseSlice ( )
protecteddefault

Member Function Documentation

◆ as_string_view()

absl::string_view grpc_event_engine::experimental::slice_detail::BaseSlice::as_string_view ( ) const
inline

◆ begin()

const uint8_t* grpc_event_engine::experimental::slice_detail::BaseSlice::begin ( ) const
inline

◆ c_slice()

const grpc_slice& grpc_event_engine::experimental::slice_detail::BaseSlice::c_slice ( ) const
inline

◆ c_slice_ptr()

grpc_slice* grpc_event_engine::experimental::slice_detail::BaseSlice::c_slice_ptr ( )
inlineprotected

◆ cbegin()

const uint8_t* grpc_event_engine::experimental::slice_detail::BaseSlice::cbegin ( ) const
inline

◆ cend()

const uint8_t* grpc_event_engine::experimental::slice_detail::BaseSlice::cend ( ) const
inline

◆ data()

const uint8_t* grpc_event_engine::experimental::slice_detail::BaseSlice::data ( ) const
inline

◆ empty()

bool grpc_event_engine::experimental::slice_detail::BaseSlice::empty ( ) const
inline

◆ end()

const uint8_t* grpc_event_engine::experimental::slice_detail::BaseSlice::end ( ) const
inline

◆ Hash()

uint32_t grpc_event_engine::experimental::slice_detail::BaseSlice::Hash ( ) const

◆ is_equivalent()

bool grpc_event_engine::experimental::slice_detail::BaseSlice::is_equivalent ( const BaseSlice other) const
inline

◆ length()

size_t grpc_event_engine::experimental::slice_detail::BaseSlice::length ( ) const
inline

◆ mutable_data()

uint8_t* grpc_event_engine::experimental::slice_detail::BaseSlice::mutable_data ( )
inlineprotected

◆ operator=() [1/2]

BaseSlice& grpc_event_engine::experimental::slice_detail::BaseSlice::operator= ( BaseSlice &&  other)
delete

◆ operator=() [2/2]

BaseSlice& grpc_event_engine::experimental::slice_detail::BaseSlice::operator= ( const BaseSlice )
delete

◆ operator[]()

uint8_t grpc_event_engine::experimental::slice_detail::BaseSlice::operator[] ( size_t  i) const
inline

◆ SetCSlice()

void grpc_event_engine::experimental::slice_detail::BaseSlice::SetCSlice ( const grpc_slice slice)
inlineprotected

◆ size()

size_t grpc_event_engine::experimental::slice_detail::BaseSlice::size ( ) const
inline

◆ Swap()

void grpc_event_engine::experimental::slice_detail::BaseSlice::Swap ( BaseSlice other)
inlineprotected

◆ TakeCSlice()

grpc_slice grpc_event_engine::experimental::slice_detail::BaseSlice::TakeCSlice ( )
inline

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